Batch Console is empty during copy
Hello,
I created a winscp-script that I start from ant to copy some things to my server. But I cannot see the transfer progress. The console window comes up but its empty.
Is there a way to show the progress in console window?
Thank you
SAM
# 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
option echo on
# Connect
open user@myserver.com
# Change remote directory
cd /upload
# Force binary mode transfer
option transfer binary
# Upload the file to current working directory
put c:\dir\current\*
#Disconnect
close
# Exit WinSCP
I created a winscp-script that I start from ant to copy some things to my server. But I cannot see the transfer progress. The console window comes up but its empty.
Is there a way to show the progress in console window?
Thank you
SAM
# 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
option echo on
# Connect
open user@myserver.com
# Change remote directory
cd /upload
# Force binary mode transfer
option transfer binary
# Upload the file to current working directory
put c:\dir\current\*
#Disconnect
close
# Exit WinSCP