Send Subcommands to iSeries FTP Server via PowerShell

Welcome Forums General PowerShell Q&A Send Subcommands to iSeries FTP Server via PowerShell

This topic contains 0 replies, has 1 voice, and was last updated by  Youssef BENLAFQIH 3 years, 3 months ago.

  • Author
    Posts
  • #27184

    Participant
    Points: 0
    Rank: Member

    I have a Script written in Rexx, that parse a text entry with the following format

    Server:
    user:
    password:
    DestPath:
    SrcPath:
    Command: (put | List | Get ...)
    Subcommand (Quote CRTPF | Quote Locsite | Rename ...)

    I want to re-write the same script using PowerShell (and parsing data from the same text file)
    I've managed to establish connection with the server using FTPWebRequest, also to find the equivalent for each command, but I haven't find a way to send the subcommands to the server (sometimes there is more than one subcommand)

    This is an example of a subcommand that I want to send to the iSeries FTP Server :
    QUOTE CRTPF FILE(Folder/Subfolder) RCDLEN(70) SIZE(*NOMAX)

The topic ‘Send Subcommands to iSeries FTP Server via PowerShell’ is closed to new replies.