Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

JustAsking

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