IBM Support

How to Stop FTP from Trimming Trailing Blanks

Troubleshooting


Problem

This document will describe how to stop FTP from trimming trailing blanks for iSeries® Client and Server.

Resolving The Problem


The System i® system trims trailing blanks by default. To turn this off when the iSeries® is the client, issue
the LOCSITE TRIM 0 command. It should return a "LOCSITE TRIM option set to 0".

To turn this off when the iSeries is the server, issue the QUOTE SITE TRIM 0 command. It should return a
"TRIM trailing blanks when sending database files option set to 0".

To turn this function back on, replace the 0 with a 1 while in the same session. The default will be restored
on each new FTP connection.

[{"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

500289975

Document Information

Modified date:
11 November 2019

UID

nas8N1013451