/nointeractive doesnt work

Advertisement

sander
Guest

/nointeractive doesnt work

Using WinSCP Version 5.18 beta on Windows 2016 Server.

Hi,
We are uploading files using command line /command option. We also use a proxy server.
We noticed that if write permissions are incorrectly configured on remote FTP servers, the upload fails. That is OK but WinSCP wil retry and enters an infinite loop, which is NOT OK.

See attached logfile for more information.
Any idea's? The option /nointeractive doesnt seem to fix this issue unfortunately.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
35,438
Location:
Prague, Czechia

Re: /nointeractive doesnt work

I do not see an infinite loop in the log. The script was aborted:
. 2020-12-16 15:22:57.062 Script: Failed
. 2020-12-16 15:22:57.062 Script: Exit code: 1
. 2020-12-16 15:22:57.062 Closing connection.
. 2020-12-16 15:22:57.062 Sending special code: 1
. 2020-12-16 15:22:57.087 Session sent command exit status 0
. 2020-12-16 15:22:57.227 Main session channel closed
. 2020-12-16 15:22:57.227 All channels closed

Reply with quote

sknijn2
Guest

Re: /nointeractive doesnt work

Hi Martin,

Sorry to say this but it is really an infinite loop.
I uploaded a new logfile. This transfer took more than an hour so I aborted it.

Regards,
Sander

Reply with quote

martin
Site Admin
martin avatar

Re: /nointeractive doesnt work

Yes, this time it is. Because the server keeps failing indefinitely, but allow reconnect nevertheless. So WinSCP indefinitely retries. What would you like it to do instead?

Reply with quote

sknijn6
Guest

Hi Martin,

I would like WinSCP to quit with an errorcode when /maxreconnect=9 has been reached.
So at reconnect 10 it can quit.

Something like that?

Regards,
Sander

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum