Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: upload a folder

And what does it do?
Acris

upload a folder

Hello

sorry for my english, iam not speak english very well

I try to upload a folder using drop and drag.


@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

my scripting doesn't work why ?

please help me.

Thanks
Acris