ftp to winscp script conversion problem
I would like to subsitute microsoft ftp with winscp but can't achieve to put a file on a server.
Here is myscript.txt file :
open ftp://username:password@ftp.example.com/
cd /archive
put -transfer=ascii myfile.txt
exit
I use a computer under windows XP, launch cmd.exe and then type the following command :
winscp.com /script=myscript.txt /ini=nul /log=mylogfile.txt
Could you tell me what is wrong with my script ?
Thank you,
Levievre from France.