Topic "option confirm off"

Author Message
madmax
[View user's profile]

Joined: 2008-10-28
Posts: 1
hi guys,
i have a funny question for you!
i have a script that transfer some file by winscp.
this i s a part of the script

echo open xxxxxxxxxxxxxxxxxxxx
echo option confirm off
echo put %retrydir%\*.zip
echo put %retrydir%\*.tkn
echo close
echo exit


this night, probably due to a network problem, the script doesn't end.
this is the winscp's log

. 2009-01-28 20:30:00.437 --------------------------------------------------------------------------
. 2009-01-28 20:30:00.437 WinSCP Version 4.1.7 (Build 413) (OS 5.2.3790 Service Pack 2)
. 2009-01-28 20:30:00.437 Login time: Wednesday, January 28, 2009 8:30:00 PM
. 2009-01-28 20:30:00.437 --------------------------------------------------------------------------
. 2009-01-28 20:30:00.437 Session name: winscp.exe
. 2009-01-28 20:30:00.437 Host name: winscp.exe (Port: 22)
. 2009-01-28 20:30:00.437 User name: (Password: No, Key file: No)
. 2009-01-28 20:30:00.437 Tunnel: No
. 2009-01-28 20:30:00.437 Transfer Protocol: SFTP (SCP)
. 2009-01-28 20:30:00.437 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-01-28 20:30:00.437 Proxy: none
. 2009-01-28 20:30:00.437 SSH protocol version: 2; Compression: No
. 2009-01-28 20:30:00.437 Bypass authentication: No
. 2009-01-28 20:30:00.437 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-01-28 20:30:00.437 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-01-28 20:30:00.437 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-01-28 20:30:00.437 SFTP Bugs: -,-
. 2009-01-28 20:30:00.437 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-01-28 20:30:00.437 Shell: default, EOL: 0
. 2009-01-28 20:30:00.437 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-01-28 20:30:00.437 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-01-28 20:30:00.437 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-01-28 20:30:00.437 Cache directory changes: Yes, Permanent: Yes
. 2009-01-28 20:30:00.437 DST mode: 1
. 2009-01-28 20:30:00.437 --------------------------------------------------------------------------
. 2009-01-28 20:30:00.437 Looking up host "winscp.exe"
. 2009-01-28 20:30:02.718 --------------------------------------------------------------------------
. 2009-01-28 20:30:02.718 WinSCP Version 4.1.7 (Build 413) (OS 5.2.3790 Service Pack 2)
. 2009-01-28 20:30:02.718 Login time: Wednesday, January 28, 2009 8:30:02 PM
. 2009-01-28 20:30:02.718 --------------------------------------------------------------------------
. 2009-01-28 20:30:02.718 Session name: xxxxxxxxxxxx
. 2009-01-28 20:30:02.718 Host name: xxxxxxxxxxxxxxxxxx(Port: xx)
. 2009-01-28 20:30:02.718 User name: xxxxxxxxx (Password: xx, Key file: xx)
. 2009-01-28 20:30:02.718 Tunnel: No
. 2009-01-28 20:30:02.718 Transfer Protocol: SFTP (SCP)
. 2009-01-28 20:30:02.718 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-01-28 20:30:02.718 Proxy: none
. 2009-01-28 20:30:02.718 SSH protocol version: 2; Compression: No
. 2009-01-28 20:30:02.718 Bypass authentication: No
. 2009-01-28 20:30:02.718 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-01-28 20:30:02.718 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-01-28 20:30:02.718 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-01-28 20:30:02.718 SFTP Bugs: -,-
. 2009-01-28 20:30:02.718 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-01-28 20:30:02.718 Shell: default, EOL: 0
. 2009-01-28 20:30:02.718 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-01-28 20:30:02.718 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-01-28 20:30:02.718 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-01-28 20:30:02.718 Cache directory changes: Yes, Permanent: Yes
. 2009-01-28 20:30:02.718 DST mode: 1
. 2009-01-28 20:30:02.718 --------------------------------------------------------------------------
. 2009-01-28 20:30:02.718 Looking up host "xxxxxxxxxxxxxx"
. 2009-01-28 20:30:02.718 Connecting to xxxxxxxxxxxxxxxx port xx
. 2009-01-28 20:30:17.734 Waiting for data timed out, asking user what to do.
. 2009-01-28 20:30:17.734 Asking user:
. 2009-01-28 20:30:17.734 Host has not answered for 15 seconds.
. 2009-01-28 20:30:17.734
. 2009-01-28 20:30:17.734 Wait for another 15 seconds? ()
. 2009-01-28 22:30:02.611 --------------------------------------------------------------------------
. 2009-01-28 22:30:02.627 WinSCP Version 4.1.7 (Build 413) (OS 5.2.3790 Service Pack 2)
. 2009-01-28 22:30:02.627 Login time: Wednesday, January 28, 2009 10:30:02 PM



So evenif in the script there is the option confirm off it doesn't work.
What can I do?
Thank you for any answer![/b]
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Option confirm applies to overwrite and resume confirmation only. Use option batch. See documentation.
_________________
Martin Prikryl
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