Topic "upload a folder"

Author Message
Acris

Guest


Hello

sorry for my english, iam not speak english very well

I try to upload a folder using drop and drag.

Quote:

@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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
And what does it do?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License