The first parameter is "'C:\\Data_B2G\\UploadFolder\\Interface\\1007\\Order' and the second parameter is "Test.txt".
Here is the error:
- ex {"Access to the path 'C:\\Data_B2G\\UploadFolder\\Interface\\1007\\Order' is denied."} System.Exception {System.UnauthorizedAccessException}
Here is the stack trace:
StackTrace " at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)\r\n at System.IO.FileStream..ctor(String path, FileMode mode)\r\n at EnterpriseDT.Net.Ftp.FTPClient.GetBinary(String localPath, String remoteFile)\r\n at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)\r\n at EnterpriseDT.Net.Ftp.FTPConnection.DownloadFile(String localPath, String remoteFile)\r\n at B2Gnow.Automated.FileSniffer.Sniffer.MoveFolder(FTPConnection ftpConn, String organizationID, String interafceFodler) in C:\\Data_B2G\\modules\\DotNet\\B2Gnow\\Automated\\FileSniffer\\FileSniffer\\Sniffer.cs:line 156\r\n at B2Gnow.Automated.FileSniffer.Sniffer..ctor() in C:\\Data_B2G\\modules\\DotNet\\B2Gnow\\Automated\\FileSniffer\\FileSniffer\\Sniffer.cs:line 37" string