reqFTP = (FtpWebRequest)WebRequest.Create (new Uri("ftp://" + ftpServerIP + "/system/" + fileName)); reqFTP.Method = WebRequestMethods.Ftp.DownloadFile; reqFTP.UseBinary = true; reqFTP.UsePassive = false; reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword); FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse();
Uri("ftp://" + ftpServerIP + "/%2fsystem/" + fileName)
550 Cannot find the file /system/filename.\r\n
"CWD " + directoryName
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)