Page 1 of 1

using ftp_put

Posted: Wed Aug 27, 2008 3:02 pm
by kendall
Hi,

I'm trying to develop a consistant function to upload files submitted via form input...I tried using the ever popular move_uploaded_file but i'm encountering alot of permission errors renders my apps useless if i need to edit/ remove that same file...

So i'm trying out the ftp_put...however

in trying to use the ftp_put I'm getting a
failed to open stream: No such file or directory in
error...the paths appear to be correct so I am confused...

does ftp_put need to have the file exist on the remote end in order to transfer from the local end?

What do you guys use for uploading file and dealing with the permissions issue? (chmod() doesnt work)