1. Home
  2. Troubleshooting
  3. FTP 450/550 NLST Errors

FTP 450/550 NLST Errors

What causes FTP 450/ 550 NLST errors?
NLST errors occur under at least two scenarios:

  • The FTP server settings do not allow users to receive directory listings – usually as a security precaution.
  • The FTP server returns an error when the directory is empty, but otherwise returns the requested directory listing.

What does Diplomat MFT do when it receives a 450 or 550 error in reply to an NLST request?
Diplomat MFT handles the file transfer differently based on whether the FTP server generating the error is the Source Partner Profile or the Destination Partner Profile panel in the Transaction window, as follows:
 

Source Partner Profile 450/550 NLST Error Diplomat MFT Action
If filename in Source File(s) field contains wildcard > Assume no matching files found.
      If Required checked > Stop job before processing any files.
If Fail if File Not Found checked, send failure notices;
Otherwise, do not send any notices.
      If Required NOT checked > Continue building source file list from other source file(s) fields.
            If source file list empty after processing all source file(s) fields > If Fail if File Not Found checked, send failure notices;
Otherwise, do not send any notices.
            If source file list NOT empty after processing all source file(s) fields > Continue job execution.
If filename in Source File(s) field does NOT contain wildcard > Issue SIZE command for filename.
     If SIZE command completes successfully > Continue processing other source file(s) fields.
     If SIZE command does NOT complete successfully > Assume no matching files found.
           If Required checked > Stop job before processing any files.
If Fail if File Not Found checked, send failure notices;
Otherwise, do not send any notices.
           If Required NOT checked > Continue building source file list from other source file(s) fields.
                 If source file list empty after processing all source file(s) fields > If Fail if File Not Found checked, send failure notices;
Otherwise, do not send any notices.
                 If source file list NOT empty after processing all source file(s) fields > Continue job execution.

 

Destination Partner Profile 450/550 NLST Error Diplomat MFT Action
If Overwrite Existing File(s) checked > Proceed with file transfer to FTP server;
Enter non-fatal error message to log file and email notifications.
If Overwrite Existing File(s) NOT checked > Continue processing other files, if any;
Send failure notices when all files processed.

 
What settings should I use on transactions to treat 450 or 550 errors as if they were not errors?
When specifying an FTP server in the Source Partner Profile panel, do NOT use wildcards in the Source File(s) field in the File Information panel in the Transaction window.  
 
When specifying an FTP server in the Destination Partner Profile panel, always check Overwrite Existing File(s) in the File Information panel in the Transaction window. NOTE:  Any files on the FTP server matching the names in the Source File(s) field will be overwritten and will not be recoverable.

Updated on February 19, 2020

Was this article helpful?

Related Articles