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. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.