Topic "Bug while working with self-made server "Error decoding...""

Author Message
Sergey

Guest


Hello.
Im using WinSCP with server i made (actually it was developed for SFTP version 3).
After i connect and enter password, it gives me an error: Error decoding SFTP packet (9, 3, 9)
Attaching log (it contains several similar sessions with the same bug).
From my side (server) i see that it connects and opens dir without problems. Then server receives READDIR packet and sends list of files. At this moment i dont see and bug reported. For 2nd READDIR packet received from WinSCP server answers with EOF status (no files to list remain), looks like while receiving this status packet WinSCP fails.

Have no idea whats the problem. Yes, its possible that problem is not in WinSCP but in server, but i cant understand it.

Thanks.
WinSCP.log (137.26 KB) [Download]

Description: Log file, level 2

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
You seem to be using SSH_FXP_NAME (0x68) for the status packet:
[quotye]< 2013-02-08 01:00:48.150 Type: SSH_FXP_NAME, Size: 9, Number: 780
< 2013-02-08 01:00:48.150 68,00,00,03,0C,00,00,00,00,[/quote]
Also the packet size is way too small for status packet. It seems to miss the "error message" and "language tag" fields.
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