Standard FTP from Command Line

Advertisement

srjones67
Joined:
Posts:
3

Standard FTP from Command Line

I am trying to automate an FTP from the command line using this command:

winscp.com /command "open ""ftp://user:pw@host""" "ls"

but I need to have this happen in passive mode. There is the /passive on winscp.exe, can I do the same on winscp.com?

Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,268
Location:
Prague, Czechia

Command "open" has -passive switch.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum