Jump to content

Recommended Posts

Posted

I want to pass along a connection link for winscp.com I was going to use batch files bt not working well so I was wondering if I could run cmd and pass said link like this along.

winscp.com /command "option batch on" "open ftp://ftp.ftp -passive" "get said file.exe"

Posted (edited)

Have a look at Run() in the Help File. e.g.

Run('winscp.com /command "option batch on" "open ftp://ftp.ftp -passive" "get said file.exe"')

Note: Not Tested as I don't use WinSCP.exe, plus it might be a problem with the Commandline structure.

Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Maybe this then >>

Run('WinSCP.exe /console /command "option batch on" "open ftp://ftp.ftp -passive" "get said file.exe"')

Source: http://winscp.net/eng/docs/scripting#commands

Note: Not Tested as I don't use WinSCP.exe, plus it might be a problem with the Commandline structure.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...