$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!
Hey Wade, I think that the $destination_file needs to be the actual
filename.
$destination_file = 'MY_FILE.txt';
It's the remote FILE not the remote directory:
bool ftp_put ( resource $ftp_stream , string $remote_file , string
$local_file , int $mode [, int $startpos ] )
[Non-text portions of this message have been removed]
.