Posted: 2005-12-21 16:28
I am trying to write a simple scrip. I get an EAccessviolation on the open command. I have tried it thru the GUI and everything works great. But when I try the script I get the error. Here is the command I try
Thanks for any help.
Posted: 2005-12-21 17:33
If i type open and press <RETURN> I get the host prompt and username/password prompts. Everything works great. But when I type open otherinformtion I get teh Eaccessviolation.
Location: Prague, Czechia
There seems to be bug in 3.8 beta. Thanks for letting me know. Please downgrade to last stable version 3.7.6.
Location: Glens Falls, New York, U.S.A.
Posted: 2005-12-23 06:25
i am using the latest stable version, and only on this one machine does it have issues
it's windows 2000 server enterprise
C:\>winscp3 /script="M:\Program Files\TechQuest\Backup\winscp.txt"
script file contains
# Automatically answer all prompts negatively not to stall the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
open scp://<user removed>:<password removed>@techquest.cc
# Change remote directory
# Force binary mode transfer
option transfer binary
# Upload the backup taz
put "M:\Program Files\TechQuest\Backup\avex.taz"
# Exit WinSCP
i had this script working correctly on win xp, win2kws
this is the only win2k server i have tried it on
i am using the latest stable version (3.7.6)
You can post new topics in this forum
And it's free!