Transfer files

You can transfer your i5/OS™ PASE program and related files to and from your iSeries™ server in any of the three methods explained in this topic.

Copy programs using File Transfer Protocol

You can use the i5/OS File Transfer Protocol (FTP) daemon and client to transfer a file into or out of the i5/OS integrated file system. Transfer your files in binary mode. Use the FTP subcommand binary to set this mode.

You must use naming format 1 (the NAMEFMT 1 subcommand of the i5/OS FTP command) when placing files into the integrated file system. This format allows the use of path names, and transfers the files into stream files. To enter into naming format 1, you can either:

Copy programs using Server Message Block

i5/OS supports Server Message Block (SMB) client and server components. With NetServer™ configured and running, i5/OS PASE has access to SMB servers in the network through the /QNTC file system. On an AIX® ora Linux® platform, a SAMBA server is required to provide the same service. Installing a configured and operational system, such as AIX, can make directories and files available to i5/OS PASE.

Copy programs using remote file systems

i5/OS lets you mount Network File System (NFS) file systems to a mount point in the integrated file system file space. AIX supports NFS, as well as Distributed File System (DFS™) and Andrew File System (AFS®) (using DFS-to-NFS and AFS-to-NFS translators) so that these file systems can be exported and mounted by i5/OS. This, in turn, lets i5/OS PASE applications use these file systems. Security authorization is validated through the i5/OS user profile's user ID number and group ID number for the directory path or file being accessed. You will want to ensure that a user profile that is intended to be the same person across multiple platforms has the same user ID on all of the systems.

i5/OS is best used as an NFS server. In this case, you need to mount from your AIX system onto a directory in the i5/OS integrated file system, and AIX will write programs directly onto i5/OS when they build.

Note: i5/OS NFS is currently not supported in multithreaded applications.
Related information
FTP