03242008 1830 GMT-6

Im working on a ftp script and right now Im just learning from the 
script on the php site.

This line:

$upload = ftp_put($connection_id, $destination_file, $source, FTP_BINARY);

Im having trouble with: $destination_file

destination file is the remote file path.
So I assume that to be
ftp.servername.com
/ root
/images images directory

so I put $destination_file = "/images";
Warning: ftp_put() [function.ftp-put]: Can't open that file: Is a 
directory in ftp_upload_script.php on line 23
FTP upload has failed!

I did try images/ for the destination but that was a invalid path it 
said. So I tried /images/ and the same for that.

I just dont understand what its asking for.

Wade

Reply via email to