WinSCP 5.17 Impossible to retrieve files from the sub-folders of an FTP

Advertisement

Amokrane
Joined:
Posts:
2

WinSCP 5.17 Impossible to retrieve files from the sub-folders of an FTP

Hello,
I use WinSCP 5.17 to retrieve files from an FTP, when I retrieve files from the root folder of the FTP all works, but as soon as I try to retrieve the files from the sub-folder it doesn't work.

Here is the instruction I use:
get /Clients/Folder2/Folder3/*.* F:\folder1\folder2\
and this is the error message:
Error listing directory '/Clients/Folder2/Folder3'.
Bad message (badly formatted packet or protocol incompatibility).
Error code: 5
Error message from server: Bad message"
Thanks for your help.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: WinSCP 5.17 Impossible to retrieve files from the sub-folders of an FTP

Can you download the files in WinSCP GUI? If you can, please post complete session log files both from GUI and the script. If the GUI does not work either, can you download the files anyhow – using any other SFTP client?

Reply with quote

Amokrane

Re: WinSCP 5.17 Impossible to retrieve files from the sub-folders of an FTP

Finally I solved the problem, I generated the script from WinSCP GUI and it works.

Thank you.

Reply with quote

Advertisement

You can post new topics in this forum