Thor
03-26-2004, 10:13 AM
I use php and the ftp_put command to upload large files to my site. Now, this had been working great until recently, though not sure exactly when as the script to do this is only used every now and then. I get this error:
Warning: ftp_put(): bind() failed: Permission denied (13)
Warning: ftp_put(): Type set to I
And of course it states what line of code, which is the ftp_put line. I had changed nothing and suddenly it's not working so I check with support and ftp_put is enabled, I did check phpinfo() to verify and it is indeed on. I'm at a loss on this one. If nobody changed anything, then why would it start giving this error? I checked permissions and ownership on the folder and they are all fine. The connection works fine, it's just the ftp_put.
Warning: ftp_put(): bind() failed: Permission denied (13)
Warning: ftp_put(): Type set to I
And of course it states what line of code, which is the ftp_put line. I had changed nothing and suddenly it's not working so I check with support and ftp_put is enabled, I did check phpinfo() to verify and it is indeed on. I'm at a loss on this one. If nobody changed anything, then why would it start giving this error? I checked permissions and ownership on the folder and they are all fine. The connection works fine, it's just the ftp_put.