Re: upload a folder
And what does it do?
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
@echo on
rem Generate temporary script to upload %1
set chemin=%1
echo option batch on > script.tmp
echo open login:password@siteweb.org>> script.tmp
echo option confirm off >> script.tmp
echo put %chemin% >> script.tmp
echo exit >> script.tmp
rem Execute script
winscp.exe /script=script.tmp
rem Delete temporary script
del script.tmp
pause