Options

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

# Topic review

GF GANZERLA
Sorry. This is the log about the console session.
martin

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

Thanks. Though I've asked for two logs.
GF GANZERLA

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

See the logsession in the attached file please.
martin

## 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.
GF GANZERLA

## 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 offopen ftp://ftp1028-srmg:**passwors**@5.89.21.21:21/get *.csvbye