C# SessionLocalException: Element "group" not found
Hi,
Program :
Visual C#
Error:
System.InvalidOperationException: Element already read to the end
WinSCP.SessionLocalException: Element "group" not found in the log file
I am Getting Error As following:
Other debug file and session log are in attachment.
Thanks
Program :
Visual C#
Error:
System.InvalidOperationException: Element already read to the end
WinSCP.SessionLocalException: Element "group" not found in the log file
I am Getting Error As following:
Transfer: 12/06/12 15:00:26 | UPLOADING | 006E060214F1(Cam 124)_0_20121206120455_44032.jpg | 21544 bytes FTP ERROR: WinSCP.SessionRemoteException: Error transferring file 'C:\\wamp\\www\\source\\cam1\006E060214F1(Cam 124)_0_20121206120455_44032.jpg'. ---> WinSCP.SessionRemoteException: Transfer channel can't be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Copying files to remote side failed. Entering Passive Mode (95,139,16,114,136,6). --- End of inner exception stack trace --- at WinSCP.OperationResultBase.Check() at FTP_Upload.Program.OpenSession(Session session, SessionOptions sessionOptions_Des, TransferOptions transferOptions, TimeSpan Destination_TimeOut, String localPath, String fName, String remotePath, String backupPath, String logPath, Int64 fSize, Int32 Counter) -- >> 12/06/12 15:00:49 | 006E060214F1(Cam 124)_0_20121206120455_44032.jpg | 21544 bytes Transfer: 12/06/12 15:00:49 | UPLOADING | 006E060214F1(Cam 124)_0_20121206120455_44032.jpg | 21544 bytes FTP ERROR: WinSCP.SessionRemoteException: Copying files to remote side failed. ---> WinSCP.SessionRemoteException: Message too long (6443148 bytes) to send to external console. --- End of inner exception stack trace --- at WinSCP.OperationResultBase.Check() at FTP_Upload.Program.OpenSession(Session session, SessionOptions sessionOptions_Des, TransferOptions transferOptions, TimeSpan Destination_TimeOut, String localPath, String fName, String remotePath, String backupPath, String logPath, Int64 fSize, Int32 Counter) -- >> 12/06/12 15:21:23 | 006E060214F1(Cam 124)_0_20121206120455_44032.jpg | 21544 bytes Transfer: 12/06/12 15:21:23 | UPLOADING | 006E060214F1(Cam 124)_0_20121206120455_44032.jpg | 21544 bytes FTP ERROR: WinSCP.SessionRemoteException: Lost connection. ---> WinSCP.SessionRemoteException: Timeout detected. --- End of inner exception stack trace --- at WinSCP.SessionLogReader.Read(LogReadFlags flags) at WinSCP.ElementLogReader.Read(LogReadFlags flags) at WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.Session.PutFiles(String localPath, String remotePath, Boolean remove, TransferOptions options) at FTP_Upload.Program.OpenSession(Session session, SessionOptions sessionOptions_Des, TransferOptions transferOptions, TimeSpan Destination_TimeOut, String localPath, String fName, String remotePath, String backupPath, String logPath, Int64 fSize, Int32 Counter) -- >> 12/06/12 15:21:23 | 006E060214F1(Cam 124)_0_20121206120455_44032.jpg | 21544 bytes Transfer: 12/06/12 15:21:23 | UPLOADING | 006E060214F1(Cam 124)_0_20121206120501_44033.jpg | 21620 bytes FTP ERROR: WinSCP.SessionLocalException: Element "group" not found in the log file at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.Session.PutFiles(String localPath, String remotePath, Boolean remove, TransferOptions options) at FTP_Upload.Program.OpenSession(Session session, SessionOptions sessionOptions_Des, TransferOptions transferOptions, TimeSpan Destination_TimeOut, String localPath, String fName, String remotePath, String backupPath, String logPath, Int64 fSize, Int32 Counter) -- >> 12/06/12 15:21:23 | 006E060214F1(Cam 124)_0_20121206120501_44033.jpg | 21620 bytes Transfer: 12/06/12 15:21:23 | UPLOADING | 006E060214F1(Cam 124)_0_20121206120501_44033.jpg | 21620 bytes FTP ERROR: System.InvalidOperationException: Element already read to the end at WinSCP.ElementLogReader.Read(LogReadFlags flags) at WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.Session.PutFiles(String localPath, String remotePath, Boolean remove, TransferOptions options) at FTP_Upload.Program.OpenSession(Session session, SessionOptions sessionOptions_Des, TransferOptions transferOptions, TimeSpan Destination_TimeOut, String localPath, String fName, String remotePath, String backupPath, String logPath, Int64 fSize, Int32 Counter) -- >> 12/06/12 15:21:23 | 006E060214F1(Cam 124)_0_20121206120501_44033.jpg | 21620 bytes Transfer: 12/06/12 15:21:23 | UPLOADING | 006E060214F1(Cam 124)_0_20121206120501_44033.jpg | 21620 bytes FTP ERROR: System.InvalidOperationException: Element already read to the end at WinSCP.ElementLogReader.Read(LogReadFlags flags) at WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.Session.PutFiles(String localPath, String remotePath, Boolean remove, TransferOptions options) at FTP_Upload.Program.OpenSession(Session session, SessionOptions sessionOptions_Des, TransferOptions transferOptions, TimeSpan Destination_TimeOut, String localPath, String fName, String remotePath, String backupPath, String logPath, Int64 fSize, Int32 Counter) -- >> 12/06/12 15:21:23 | 006E060214F1(Cam 124)_0_20121206120501_44033.jpg | 21620 bytes
Other debug file and session log are in attachment.
Thanks