Ok, what is happening is pretty much nothing 🙂
I have echoes if I don't connect, or do not get a successful login and I have tested those. I seem to be connecting and logging in fine. But the ftp_put() call shows the echo "Did not upload to ftp server."
I do not know what else to tell you as far as what is happening. I am not getting any errors and the file is not getting uploaded.
-my server var holds the URl of the server ex. 'test.com'
- my destination file var holds the path temp
so the destination path when I echo it is temp/my file
so the ftp_put() is getting passed
ftp_put($conn_id, 'temp/myfile', 'myfile', ftp_binary);
This is the first time I have ever used this function so please bear with me. I have researched it and no one seems to have this problem. Most people complain that the file seems to get uploaded but its file size is 0. Right now, my page runs and nothing happens. My permissions on the server are correct, the folder I am trying to upload to exists, the username and pass are correct and I can login via shell prompt as well.
Any ideas?