Re: PUT in scripting with v4
Does the "put" command produce any output?
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
# 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
open XXXXXXXXXX
# Force binary mode transfer
option transfer binary
# Upload the file to current working directory
cd /inbox/
put e:\programme\WinSCP3\ausgang\einganghost.txt
cd /outbox/
get outboxftp.txt E:\Programme\WinSCP3\eingang\
# Disconnect
close
# Exit WinSCP
exit