Send Subcommands to iSeries FTP Server via PowerShell

Tagged: ,

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

  • Author
  • #27184
    Profile photo of Youssef BENLAFQIH
    Youssef BENLAFQIH

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

    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)

You must be logged in to reply to this topic.