IBM Support

What could be the cause of a 501 error in an FTP trace file ?

Troubleshooting


Problem

FTP of file results in 501 error in FTP trace file.

Symptom

>501 Invalid or >501 Syntax error.

Cause

Typically seen when there is a space in the URL.

Diagnosing The Problem

Enable FTP trace by adding -TV+

Resolving The Problem

Surround line that contains spaces with double quote such as the following:
"FTP://admin:password@localhost/""support test.txt"

[{"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"FTP Adapter","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.3.0.0;8.3.0.1;8.3.0.2;8.3.0.3;8.3.0.4;8.3.0.5;8.3.0.6;8.3.0.7;8.4.0.0;8.4.0.1;8.4.0.2;8.4.0.3;8.4.0.4;8.4.0.5;8.4.1.0;8.4.1.1;8.4.1.2;8.4.1.3;8.4.1.4;8.4.1.5;9.0.0.0;9.0.0.1;9.0.0.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
28 September 2018

UID

swg22008838