ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Transfer of Files to IFS using FTP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transfer of Files to IFS using FTP

    Hi,

    We have a scenario, in which we have to Transfer multiple XML files from a External Server to our AS400 - IFS folder. Then process those files later.

    Is there a way to transfer directly to IFS path, without storing the files in AS400 libraries.

    I checked the MGET *.* command and it transferred files only to the Current local working directory in AS400. I tried using the IFS directory path but the command failed).

    How would we achieve the same, if it is going to be a turnaround also.???. Please let me know.



    Regards,
    Prem

  • #2
    Re: Transfer of Files to IFS using FTP

    Hello,

    you have to use either "NAMEFMT 1"
    or do a "cd /home/whatever" before the put.
    I think this will help you?

    kuempi

    Comment


    • #3
      Re: Transfer of Files to IFS using FTP

      Hi,

      Thanks for the info. The namefmt good.

      Regards,
      Prem
      Last edited by prem; October 8, 2008, 11:35 PM.

      Comment


      • #4
        Re: Transfer of Files to IFS using FTP

        Originally posted by kuempi View Post
        Hello,

        you have to use either "NAMEFMT 1"
        or do a "cd /home/whatever" before the put.
        I think this will help you?

        kuempi
        how to use "NAMEFMT 1" in ftp command

        Code:
        ftp> cd LIBTMP
        250 "LIBTMP" is current library.
        ftp> NAMEFMT 1
        Invalid command.
        ftp>

        Comment


        • #5
          Re: Transfer of Files to IFS using FTP

          try
          quote site namefmt 1

          but sorry, have this not tested.

          k.

          Comment

          Working...
          X