Download from SFTP

Advertisement

rossoneris
Joined:
Posts:
3

Download from SFTP

I have a quite easy task – but somehow it does not work.

With WinSCP GUI, I can manually add the the connection and download files – it is just .txt files.

I however, just want a script to do this, so did try do everything from command line first. I try manually from command line calling WinSCP.

And run the
get / * -filemask=*.txt c:\folder\
Everytime if for some reason can download a folder called "processing" – but that just on first .txt file it try and download it stops and show error with error code 4.

If I just try and download 1 of the txt files it also just show error code 4. Everything works fine from WinSCP gui where I can download files.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,717
Location:
Prague, Czechia

Re: Download from SFTP

Your script command is wrong. But as WinSCP GUI does not work, it's a secondary issue now.
Please post verbose logs both from FileZilla and WinSCP showing successful and failed download of the same file.

Reply with quote

Advertisement

You can post new topics in this forum