lucie Posted October 28, 2008 Share Posted October 28, 2008 Im using ftp_put() to upload the files to the ftp, Its uploading the file, but after uploading the file, the same file is getting deleted, does any one have any idea about it. Link to comment https://forums.phpfreaks.com/topic/130478-issues-with-ftp_put-in-php/ Share on other sites More sharing options...
Maq Posted October 30, 2008 Share Posted October 30, 2008 Are you sure it's even being uploaded? Do you check to make sure, something like: // upload a file if (ftp_put($conn_id, $remote_file, $file, FTP_ASCII)) { echo "successfully uploaded $file\n"; } else { echo "There was a problem while uploading $file\n"; } Post your entire code for uploading. Link to comment https://forums.phpfreaks.com/topic/130478-issues-with-ftp_put-in-php/#findComment-678590 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.