Troubleshooting
Problem
This document provides information about placing a file in the library system with SFTP.
Resolving The Problem
At some point, you may need to place a file in the library system with SFTP. There is no convenient subcommand like NAMEFMT with normal FTP. The following information (with print screens) help you work around this limitation. Alternatives include using applications like Filezilla and others found on the www.OpenSSH.org Web site.
Note: There is no way to move an entire file with members. SFTP is locked in name format 1 for the Integrated File System.
To work around this limitation, do the following:
| 1 | Create the physical file. |
| 2 | Use the put command to move the members over. If you only have one member per file, you will have a lot of directory changes to get them from one system to the other; however, it is possible. |

Notes:
| 1 | If the object you are attempting to use is not owned by your user ID, use the WRKOBJ command to edit the authority of the object. |
| 2 | You must have *RWX authority to /QSYS.LIB/. To verify, on the operating system command line type the following: WRKLNK '/QSYS.LIB/' Press the Enter key. Select Option 9 next to the path and press the Enter key. |

[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Communications-TCP","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Historical Number
393659556
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1015273