I am using ftp_put and it generate this error.
Warning: ftp_put() [function.ftp-put]: 'STOR ' not understood.
Anyone has experience with this Warning...
this is my ftp_script
$ftp_server='myserver';//serverip
$conn_id = ftp_connect($ftp_server,21,120);
$user="myuser";
$passwd="mypassword";
$login_result = ftp_login($conn_id, $user, $passwd);
$mode= @ftp_pasv($conn_id, 1);
ftp_chdir($conn_id, "/web/");
$destination_file1=basename("$ufile1");
$destination_file2=basename("$ufile2");
$source_file1="$ufile1";
$source_file2="$ufile2";
$upload = ftp_put($conn_id, $destination_file1, $source_file1, FTP_ASCII);
$upload1 = ftp_put($conn_id, $destination_file2, $source_file2, FTP_ASCII);
ftp_close($conn_id);