You used move_uploaded_file() to move the file to $path.
Quote:
Originally Posted by php manual.move_uploaded_file
If the file is valid, it will be moved to the filename given by destination
The file is no longer in temp.
try ftp_put($ftp, $path)
Search found 2 matches
- Wed Aug 03, 2005 2:25 pm
- Forum: PHP - Code
- Topic: [RESOLVED]move_uploaded_file() conflicting with ftp_put()
- Replies: 1
- Views: 246
- Wed Aug 03, 2005 9:16 am
- Forum: PHP - Code
- Topic: [RESOLVED]move_uploaded_file() conflicting with ftp_put()
- Replies: 1
- Views: 246
[RESOLVED]move_uploaded_file() conflicting with ftp_put()
Hello, I have a site that allows developers to upload current modules to the webserver. It has been requested that when this is done, I also ftp a backup copy to a remote server. Something is wrong here. The file upload code works. The back ftp code works, if I comment out the move_uploaded_file() f...