Script get doesn't work but the same work on console

Advertisement

GF GANZERLA
Joined:
Posts:
4

Script get doesn't work but the same work on console

I need to download files via FTP from a site. Through WinSCP console everything ok, but I can't get it to work with the script. I connect, but the server disconnects me on the first get or dir command. The site is the same and our addresses and open ports are also the same.
The script is very simple:
option confirm off
open ftp://ftp1028-srmg:**passwors**@5.89.21.21:21/
get *.csv
bye

Consolle.jpg

Reply with quote

Advertisement

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

Re: Script get doesn't work but the same work on console

Please attach a full session log file showing the problem (using the latest version of WinSCP), as well as log of the working session in the console.

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum