Can the following FTP script be converted to WinSCP?

Advertisement

JustAsking
Joined:
Posts:
14

Can the following FTP script be converted to WinSCP?

The following script works under Windows FTP just fine but I want better control, security, and error catching so would like to have this work as WinSCP commands under Windows PowerShell. Can it be made to work? Thanks.
(Powershell prompt) ftp {iSeries IP address}
{iSeries user}
{iSeries password}
quote site namefmt 0
cd {user directory}
quote rcmd {user directory}/{program}
get data files\data.DAT
quit

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum