I want to FTP an excel document to as400 library

Tags:
FTP
I have an excel document on my desk top. I want to FTP to ISERIES box. what will the example code look like. 




Software/Hardware used:
iseries
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • carlosdl
    I'm assuming that the iSeries already has an FTP server configured and working correclty, and I'm also assuming that even though you mentioned "example code", you want to do that from the command line.

    If any of those assumptions is incorrect, just let us know.

    Transferring a file from the command line is usually pretty simple, in summary, you just have to establish the FTP connection, set the transfer mode, transfer the file, disconnect.

    So, this would be an example:

    ftp <the iseries name or IP address>

    The server will most likely ask for a user and password, so, you have to provide that, and then:


    bin
    
    put your-excel-file.xlsx
    
    bye



    85,470 pointsBadges:
    report
  • ToddN2000
    Carlos provide you the steps. If you still need help we need a bit more info on the process. Are you looking to upload the data contents to an existing file on the machine? Are you looking to send the .XLS or .CSV file to the IFS located on the machine? Two entirely different processes...
    135,495 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: