Topic "WinSCP.exe hangs in scheduled task."

Author Message
bree
[View user's profile]

Joined: 2015-11-04
Posts: 3
I've created a scheduled task on a Windows 2008 server which is initiating WinSCP to open a connection to a FTPS server, download a file and move it. The script is made so it'll repeat itself until stopped.

All of this actually works fine. We see the server start two WinSCP processes(WinSCP.com - 780kb and WinSCP.exe ~ 3750kb) WinSCP downloads the file, closes the processes again and moves the file. But once in a while the WinSCP.exe process ends up in a odd state where it only takes up around 1560kb and then hangs.

The process(es) can be restarted, the scheduled task can be restarted, but it keeps ending up with a WinSCP.exe process which only takes up ~1560kb and stops.

I've tried to enable logging of both the script and WinSCP, but it never comes to writing anything in the log file after the WinSCP.exe starts hanging.

The only solution so far has been to restart the whole server.

Has anyone experienced something like this before ?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
What version of WinSCP are you using?
bree
[View user's profile]

Joined: 2015-11-04
Posts: 3
I'm using 5.7.5 (Build 5665)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
_________________
Martin Prikryl
bree
[View user's profile]

Joined: 2015-11-04
Posts: 3
Log files from the debug version has been mailed to you.

Thanks for your help so far.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License