FTP Considerations (for Both Client and Server)
This section contains additional detailed information that is pertinent to both the
AS/400 FTP client and FTP server,including:
vData transfer methods
vTransferring files that contain packed decimal data
vTransferringAS/400 save files
vTransferring HFS files
vTransferring QDLS documents
vTransferring “root,” QOpenSys and QLANSrv files
vTransferring files using QFileSvr.400
vReceiving text files
vTransferring QSYS.LIB files
vAS/400 file pre-creation
vAutomatic sequencing of source files
vCCSID code page tagging for files on AS/400
vNLS considerations
vEffects of job wait time

Data Transfer Methods

The appropriate transmission attributes must be used to transfer files between two
systems to preserve the content and structure of the files. Atext file contains
standard, displayable characters only. It does not include the end-of-record
characters (EBCDIC '1E' and ASCII '0D').A binary file may contain any characters.
File Transfer Protocol
Previous FTP subcommands and messages:
220 SCOTLAND FTP server (IBM OS/2 TCP/IP FTP Version 1.2) ready.
> GWIL
331 Password required for GWIL.
230 User GWIL logged in.
OS/2 operating system
> BINARY
200 Type set to I.
> NAMEFMT 1
202 SITE not necessary; you may proceed.
Client NAMEFMT is 1.
> put /QDLS/QIWSFL2/COPYWSFA.BAT C:\TEST\COPYWSFA.BAT
200 PORT command successful.
150 Opening BINARY mode data connection for C:\TEST\COPYWSFA.BAT.
226 Transfer complete.
159 bytes transferred in 0.984 seconds. Transfer rate 0.162 KB/sec.
Enter an FTP subcommand.
===> put /QDLS/QIWSFL2/COPYWSFA.BAT C:\TEST\COPYWSFA.BAT
F3=Exit F6=Print F9=Retrieve
F17=Top F18=Bottom F21=CL command line
Figure 169. OS2 FTPFTP/PUT Process
258 OS/400 TCP/IPConfiguration and Reference V4R4