scripting

Advertisement

Gawron1
Guest

scripting

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

open abcd:password@192.123.1.1

Thanks for any help.

Reply with quote

Advertisement

Gawron1
Guest

scripting

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
Location:
Prague, Czechia

Re: scripting

There seems to be bug in 3.8 beta. Thanks for letting me know. Please downgrade to last stable version 3.7.6.
_________________
Martin Prikryl

Reply with quote

Narcos
Joined:
Posts:
1
Location:
Glens Falls, New York, U.S.A.

EAccessViolation in v3.7.6 on win2k in script mode

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"
batch on
confirm off
EAccessViolation
No session.
transfer binary
No session.
No session.

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
cd /home/jgrafals/Backups/Avex
# Force binary mode transfer
option transfer binary
# Upload the backup taz
put "M:\Program Files\TechQuest\Backup\avex.taz"
# Disconnect
close
# Exit WinSCP
exit


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)

Reply with quote

Advertisement

You can post new topics in this forum