Post a reply

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

martin

Re: Script exiting with "option batch continue" line added

I'm sorry, but there are too many assumptions in your post. It is hard to catch to something and deduce anything.

Operating system failed to create file x.filepart

The error message is not coming from WinSCP. Does it happen while downloading or uploading?

Can you post a log file showing some of the problems?
_tibberous

Script exiting with "option batch continue" line added

I have this huge server sync script that was working good, but would get a message every few hours:

Operating system failed to create file x.filepart (or something like that)

Then it would let me press p to skip all, but skip all didn't work, and in a few hours the message would be back up. I added the line:

option batch continue

But now it exists after a few hours. What I think might be happening is that, it tries to make a tar.gz, but it takes too long. After 15 seconds, it normally prompts to abort -- but I think the batch option continue might be confirming the abort or killing the script.

Anyway - I changed the code so that "option batch continue" is used before the sync commands, and "option batch off" is used right after them. I'm testing it now, but does anyone have any other reasons it would terminate, or how I can stop it?