List of error codes
The following table shows the different kind of errors that a ScriptFTP command can return. For further information about how to make your script handle an error see Error handling
0-15999 | Windows error number. ScriptFTP uses the windows system error codes to report an error condition not related to FTP operations or script execution. |
16003 | The connection with the FTP server was lost. |
16004 | Operation timed out. |
16006 | Out of memory. |
16011 | Cannot resolve host name. |
16012 | Cannot create a connection with the remote server. |
16018 | SSL/TLS error. |
16023 | The connection was unexpectedly closed by the FTP server. |
16024 | Error reading local file. |
17400-17499 | FTP error reported from FTP server. Error messages and numbers may change between different FTP servers. Errors in this range correspond to operations that are not accepted but the error condition is temporary and the action may be requested again. |
17500-17599 | FTP error reported from FTP server. Error messages and numbers may change between different FTP servers. Errors in this range correspond to operations that are not accepted, the error condition is permanent and the action cannot be requested again. |
18001 | Not connected. Used when the current ScriptFTP command requires to communicate to the FTP server but no connection is available. |
18002 | Returned by RENAMEFILE when there is an error in the parameters. If the first parameter is a wildcard the second must be in the format *.extension. |
18003 | Returned by RENAMEFILE when there is an error in the parameters. If the first parameter is a file name the second parameter cannot be a wildcard. |
18004 | Returned by SETPORT when the port parameter is negative, zero, a number greater than 65535 or a text string (a valid TCP port number is between 1 and 65535). |
18005 | Returned by CHMOD when the file mode paramter is not valid. It must be a three digit octal number. See also Octal notation of Unix file permissions. |
18006 | Returned by CHMOD when the remote file is not found. |
18007 | Returned by SETSPEED and SETTIMEOUT when the speed parameter is negative, zero or a text string. |
18008 | Returned by LOGTO when ScriptFTP is already logging the script output in a text file. For example, calling LOGTO two consecutive times produces this error. |
18009 | Returned by STOPLOG when ScriptFTP is not logging. |
18010 | Returned by GETFILE2 or PUTFILE2 when the second parameter is not a file name. No paths are allowed in the second parameter. |
18011 | Returned by SETPROTOCOL, SETTYPE and SYNC when a parameter error is found. Please report this error if it appears as the parameters of these commands are fixed and this error should not happen under normal conditions. |
18012 | Returned by PUTFILE when no wildcard is used and the local file to be uploaded is not found. |
18013 | Returned by DELETEFILE when a no wildcard is used and the remote file is not found. |
18014 | Returned by SETFILETIME when the time parameter is not in the format YYYY_MM_DD-hh_mm_ss. |
The following list of error codes (17400-17499) is written down here for those who are searching in the web for an error code in this interval:
17400, 17401, 17402, 17403, 17404, 17405, 17406, 17407, 17408, 17409, 17410, 17411, 17412, 17413, 17414, 17415, 17416, 17417, 17418, 17419, 17420, 17421, 17422, 17423, 17424, 17425, 17426, 17427, 17428, 17429, 17430, 17431, 17432, 17433, 17434, 17435, 17436, 17437, 17438, 17439, 17440, 17441, 17442, 17443, 17444, 17445, 17446, 17447, 17448, 17449, 17450, 17451, 17452, 17453, 17454, 17455, 17456, 17457, 17458, 17459, 17460, 17461, 17462, 17463, 17464, 17465, 17466, 17467, 17468, 17469, 17470, 17471, 17472, 17473, 17474, 17475, 17476, 17477, 17478, 17479, 17480, 17481, 17482, 17483, 17484, 17485, 17486, 17487, 17488, 17489, 17490, 17491, 17492, 17493, 17494, 17495, 17496, 17497, 17498, 17499
The following list of error codes (17500-17599) is written down here for those who are searching in the web for an error code in this interval:
17500, 17501, 17502, 17503, 17504, 17505, 17506, 17507, 17508, 17509, 17510, 17511, 17512, 17513, 17514, 17515, 17516, 17517, 17518, 17519, 17520, 17521, 17522, 17523, 17524, 17525, 17526, 17527, 17528, 17529, 17530, 17531, 17532, 17533, 17534, 17535, 17536, 17537, 17538, 17539, 17540, 17541, 17542, 17543, 17544, 17545, 17546, 17547, 17548, 17549, 17550, 17551, 17552, 17553, 17554, 17555, 17556, 17557, 17558, 17559, 17560, 17561, 17562, 17563, 17564, 17565, 17566, 17567, 17568, 17569, 17570, 17571, 17572, 17573, 17574, 17575, 17576, 17577, 17578, 17579, 17580, 17581, 17582, 17583, 17584, 17585, 17586, 17587, 17588, 17589, 17590, 17591, 17592, 17593, 17594, 17595, 17596, 17597, 17598, 17599