upload a folder

Advertisement

Acris
Guest

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: upload a folder

And what does it do?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum