Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

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

gregb

Re: Session continually reconnecting when downloading a number of files

Hi Martin,

Thanks for looking into this. I appreciate you confirming it's something other than WinSCP :)

Thanks,
Greg
martin

Re: Session continually reconnecting when downloading a number of files

Actually in your previous log, the transfer fails on the very first file already. So it does not look like this has anything to do with downloading multiple files. You may just have been lucky previously.

I do not not know how to help you. It may be a firewall issue or a problem with the FTP server itself. Hard to guess. There's nothing I can see from the log that may help you with troubleshooting.
gregb

Re: Session continually reconnecting when downloading a number of files

Hi Martin,

Thanks for the reply. Here's a WinSCP log for a successful download. Please note that this is the script I use to download a single file from our vendor's site.

When WinSCP (either via. Powershell or the GUI) tries the multi-download, it hangs after processing a random number of files. I exit the GUI or my script in order to use WinSCP again. As I mentioned in the original post, the job to download 2 days worth of files is a new requirement I'm trying to fulfill and I've not gotten WinSCP (or Filezilla) to do a multi-download yet.

Here's the powershell command I run with the successful single download jobs that I'd mentioned earlier.
& "C:\program files (x86)\winscp\winscp.com" /log=`"d:\winscp.log`" /loglevel=2 /command `"option batch abort`" `"option confirm off`" `"option exclude *downloaded*`" `"open ftps://[FTP ID]:[PASSWORD]@[FTP SITE] -passive=on -certificate='"31:a0:0f:ff:69:cc:9b:d5:10:df:98:36:b8:74:a5:9b:62:27:b1:87"' -rawsettings FtpForcePasvIp=1 ftps=2 fsprotocol=5 portnumber=20021`" `"lcd d:\rbc`" `"get /usr/nn/gateway/mbox/fxf/[FTP ID]/outbound/2E2E/RPRTRMP.*`" `"exit`"

Thanks for your assistance,
Greg
martin

Re: Session continually reconnecting when downloading a number of files

Can you attach a WinSCP session log file for a successful transfer?

From the FileZilla logs it seems that after the problem starts, no other file transfer is possible. Is that correct? What do you have to do to make it working again?
gregb

Session continually reconnecting when downloading a number of files

Hi,

I'm having trouble with WinSCP downloading multiple files from one of our vendors.
We have a number of nightly jobs that connect to this vendor and download a single file. Each job/file is for a specific product of theirs. This process has run for 2+ years without any issues.
When I try to download ALL files posted to the FTP site in the past two days, WinSCP hangs partway through the job. It may happen after 12 files, it may happen after 2 files - the number of files processed before failure is variable. This is a new job I've been requested to setup.

I use WinSCP 5.7.7, although I've tried this with 5.7.6 without success as well.
The server is running Windows 2008 x64R2
This is an SFTP connection
This job is triggered in Powershell. The command I use is:
& "C:\program files (x86)\winscp\winscp.com" /log=`"d:\winscp.log`" /loglevel=2 /command `"option batch abort`" `"option confirm off`" `"option transfer text`" `"open ftps://[FTP ID]:[PASSWORD]@[FTP SITE]-passive=on -certificate='"[CERTIFICATE]"' -rawsettings FtpForcePasvIp=1 ftps=2 fsprotocol=5 portnumber=20021`" `"lcd d:\rbc`" `"get /usr/nn/gateway/mbox/fxf/[FTP ID]/outbound/2E2E/RPRTCAI*`>2D`" `"exit`"

Log file attached.

It seems similar to bug 1084?

FileZilla experiences a similar problem when downloading multiple files. Log attached.