Topic "Multiple File Selection Right Click Batch"

Author Message
[View user's profile]

Joined: 2015-05-15
Posts: 1
I'm trying to create a batch file that uploads multiple selected files via a "Sendto" right click menu item.
set foo="%*" /command ^
   "option batch continue" ^
   "option confirm off" ^
   "open sftp://davidh@" ^
   "put %foo%"

The batch file processes the first file but subsequent files kick back an error code "unknown command" with the file name and path following. Is what I'm trying to do possible? Any help would be appreciated.

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License