我试图从 AS/400 服务器下载库的 SAVEFILE。我总是得到一个 0 字节的空文件,
这些是我遵循的步骤
Go to a MS-DOS Shell.
Go to the location on the PC where you want to store the save file.
Type:
FTP (AS/400_IP_ADDRESS)
Or
FTP (AS/400 _NAME)
Enter your AS/400 username and password for that system when prompted.
To ensure the transfer mode is binary (there will be no conversion), type:
BIN
To go to the library on the AS/400 where the save file is stored, type:
CD LIBRARY
To transfer the save file from the AS/400 to your PC, type:
GET NAME
When the transfer is complete, exit the ftp session by typing:
QUIT
To close the MS-DOS shell, type:
EXIT
在 as400 端我可以看到文件大小是 24576 字节
FTP 提示返回“226 文件传输成功”。
但文件是空的。
任何原因 ?