Yes, the script has to be in UTF-8 encoding:
I would like to download ascii files from AIX server to a PC running Windows 7 PRO 64 bits.
I am using a script. (it was develloped 5 years ago on winscp)
When I use the console (winscp /console) and I type all the commands one by one, it works fine.
When I pass a script (c:\tun>"C:\tun\WinSCP.exe" /console /script=c:\tun\descgpao.txt /log=c:\tun\lolo
.log), it does not work and no log file is created.
Neither in %TEMP%.
The script is :
option batch abort
option confirm off
option transfer ascii
# -delete supprime le fichier distant quand le transfert s'est bien passé
get -delete *.s
A console opens and close so quick that I cannot read anyting.
Thank you for your help, KS