Topic "Can I pass a File Name to WinSCP to FTP Only That File?"

Author Message
jbates99
[View user's profile]

Joined: 2013-09-26
Posts: 1
Location: USA
hi experts,

I want to use a SQL Server SSIS package to loop thru files in a folder. I would execute WinSCP to SFTP that file, then loop back to the next file and so on.

My main question is can WinSCP accept an argument or parm which would be the path of the file path to be uploaded? If this is possible, are there examples of this somewhere please?

Thanks, John
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Yes.

Read about /parameter command-line argument:
http://winscp.net/eng/docs/commandline#scripting
http://winscp.net/eng/docs/scripting#syntax
_________________
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