FTP DOS Errorlevel codes

(Last modified: 04Jul1995)

This document (1003760) is provided subject to the disclaimer at the end of this document.


If the DOS FTP command is used from within a DOS batch file.
1. How do we see if ftp succeeded or not?
2. What are the dos errorlevels returned ?


Using the DOS FTP application within a DOS batch file, make sure you do the following:

1. Load the FTP command with the -X option. This options states that if FTP fails, it will exit and return DOS errorlevel 1.

2. The two DOS errorlevels are 0 and 1. 0 if it works, and 1 if it fails.


Document Title: FTP DOS Errorlevel codes
Document ID: 1003760
Creation Date: 09Jun1995
Modified Date: 04Jul1995
Revision: 1
Novell Product Class:Connectivity Products
End of Life (EOL)


The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.