I seem to be having problems running the 380 beta in console mode. If I run the two lines below at the command prompt, the one using winscp376 works fine. The one running winscp380 will flash up the winscp console window and pull it down before you can see anything. I have logged in with the GUI using both versions to make sure the host keys are set. Any idea what the problem could be?
# Automatically answer all prompts negatively not to stall the script on errors
option batch on
# Disable overwrite confirmations that conflict with option batch on
option confirm off
# Connect using a prompted password -or-
# Use folling syntax to include pass: open user:password@host
# Change remote directory
# Create remote directory
mkdir "test up1"
# Change to created remote directory
cd "test up1"
# Force binary mode transfer
option transfer binary
# Upload files to current working directory
put "c:\temp\WinSCP\deploy\test up1\*.*"
# Change to parent of created remote directory
# Disconnect and Exit WinSCP
Run the script from already opened console (cmd.exe), so you can see the output. Generally 3.8 have problems with "open" command. It should work if the open command refers to a stored session or when it contains a password. _________________ Martin Prikryl