Topic "WinSCP & AutoHotKeys"

Author Message
TomT

Guest


Hi

I'm looking to automate the send of selected files to another machine on my network.

In the GUI of WinSCP I have a profile called 'LAPTOP' this is configured and works fine.

Is there anyway to use this profile from a command line and then PUT files to the laptop via that profile ?
If there is I can try and wrap this into a AHK Script to a single key press could send the selected file to my remote laptop.

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Yes, you can use the site name in open command in WinSCP script, like:

open LAPTOP

See
https://winscp.net/eng/docs/guide_automation
https://winscp.net/eng/docs/scriptcommand_open
_________________
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