Struggling with ftp uploads - is it right to include path name of file to be uploaded? As in:
<?php
$ftp_server="$ftp_user_name="myname";
$ftp_user_pass="mypass";
$destination_file="test.txt";
$source_file="c:/php/test.txt";
etc. etc.
$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);
<?php
$ftp_server="$ftp_user_name="myname";
$ftp_user_pass="mypass";
$destination_file="test.txt";
$source_file="c:/php/test.txt";
etc. etc.
$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);