Troubleshooting
Problem
This document describes error message "skipping non-regular file /QSYS.LIB/LIBRARY.LIB/FILE.FILE" errors with SFTP.
Resolving The Problem
When using the IBM i SFTP client, the following error may be seen when attempting to transfer a file from
the QSYS.LIB file system:
skipping non-regular file /QSYS.LIB/LIBRARY.LIB/FILENAME.FILE
Note: The path listed above would include an actual library name and file name.The issue is the use of the
QSYS.LIB file system with SFTP. When using the QSYS.LIB path, the file is treated like a directory;
to resolve this, you need to fully qualify the PUT statement as follows:
PUT /QSYS.LIB/LIBRARY.LIB/FILENAME.FILE/MEMBER.MBR
Another option is to use the LCD command and change into the directory, using the FILENAME.FILE as the
parent directory.
For example:
lcd /QSYS.LIB/LIBRARY.LIB/FILENAME.FILE
Then:
put MEMBER.MBR
Historical Number
643616022
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1010822