Topic "C# SessionLocalException: Element "group" not found"

Author Message
austinow
[View user's profile]

Joined: 2012-12-06
Posts: 2
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:

Code:

 
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
Session.log (7.43 KB) [Download]

Description: Session File Too Large. Kindly request if you need others information.

Debug.log (53.96 KB) [Download]

Description: Debug File Too Large. Kindly request if you need others information.

Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License