IBM Support

SFTP - "skipping non-regular file" Error When Using QSYS.LIB File System

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

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

643616022

Document Information

More support for:
IBM i

Software version:
6.1.0

Operating system(s):
IBM i

Document number:
684201

Modified date:
18 December 2019

UID

nas8N1010822

Manage My Notification Subscriptions