×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: bejoy balan
Added: Jan 8, 2016 11:13 AM
Views: 13
ftp file upload issue ftp_pasv($conn_id, true);
  1. ftp_login($conn_id, $usr, $pwd) or die("Cannot login");
  2.         ftp_pasv($conn_id, true);
  3.         ftp_chdir($conn_id, $ftp_path);
  4.         $upload     = ftp_put($conn_id, $cafeed_csv_file, $local_file, FTP_ASCII);  /* Uploading file to remote location. */
  5.         if($upload)