8#define _libncftp_errno_c_ 1
12 "gethostname() failed",
13 "hostname does not include domain name",
14 "could not set linger mode",
15 "could not set type of service",
16 "could not enable out-of-band data inline",
18 "could not get a new stream socket",
19 "could not duplicate a socket",
20 "fdopen for reading failed",
21 "fdopen for writing failed",
23 "could not bind the data socket",
24 "could not listen on the data socket",
25 "passive mode failed",
26 "server sent bogus port number",
27 "could not connect data socket",
28 "could not accept data socket",
29 "could not set restart point",
30 "could not connect to remote host",
31 "could not connect to remote host, but can try again",
32 "remote host refused connection",
34 "invalid directory parameter",
37 "remote chdir failed",
38 "remote rmdir failed",
40 "unimplemented option",
41 "unimplemented function",
42 "remote directory listing failed",
43 "could not retrieve remote file",
44 "could not send file to remote host",
49 "could not open file",
50 "bad magic number in FTP library structure",
51 "bad parameter given to library",
52 "remote mkdir failed",
53 "remote cd .. failed",
54 "remote chmod failed",
55 "remote umask failed",
56 "remote delete failed",
57 "remote file size inquiry failed",
58 "remote file timestamp inquiry failed",
59 "remote transfer type change failed",
60 "file size inquiries not understood by remote server",
61 "file timestamp inquiries not understood by remote server",
62 "could not rename remote file",
63 "could not do remote wildcard expansion",
64 "could not set keepalive option",
65 "remote host disconnected during login",
66 "username was not accepted for login",
67 "username and/or password was not accepted for login",
69 "invalid reply from server",
70 "remote host closed control connection",
72 "could not start data transfer",
73 "data transfer failed",
77 "utime requests not understood by remote server",
79 "file deletion on local host failed",
81 "data transfer aborted by local user",
83 "symlink requests not understood by remote server",
85 "server features request failed",
86 "no valid files were specified",
87 "file transfer buffer has not been allocated",
88 "will not overwrite local file with older remote file",
89 "will not overwrite remote file with older local file",
90 "local file appears to be the same as the remote file, no transfer necessary",
91 "could not get extended directory information (MLSD)",
92 "could not get extended file or directory information (MLST)",
93 "could not parse extended file or directory information",
94 "server does not support extended file or directory information",
95 "server does not support extended directory information",
96 "could not get information about specified file",
97 "server does not support file or directory information",
98 "could not get directory information about specified file",
99 "server does not support directory information",
100 "no such file or directory",
101 "server provides no way to determine file existence",
102 "item exists, but cannot tell if it is a file or directory",
104 "directory recursion limit reached",
105 "timed out while waiting for server response",
106 "data transfer timed out",
117 return (
"miscellaneous error");
127 return (
"unrecognized error number");
138 if ((
s2 ==
NULL) || (
s2[0] ==
'\0')) {
139 if ((
s1 ==
NULL) || (
s1[0] ==
'\0')) {
144 }
else if ((
s1 ==
NULL) || (
s1[0] ==
'\0')) {
150 if ((
s2 ==
NULL) || (
s2[0] ==
'\0')) {
151 if ((
s1 ==
NULL) || (
s1[0] ==
'\0')) {
156 }
else if ((
s1 ==
NULL) || (
s1[0] ==
'\0')) {
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
void FTPPerror(const FTPCIPtr cip, const int err, const int eerr, const char *const s1, const char *const s2)
const char * FTPStrError(int e)
static const char * gErrList[kErrLast - kErrFirst+2]
int gLibNcFTP_Uses_Me_To_Quiet_Variable_Unused_Warnings
char lastFTPCmdResultStr[128]