diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-01-01 14:44:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-01-01 14:44:44 +0000 |
commit | 605bbfc4c0fa838f50bf9d18e69e417168f524c0 (patch) | |
tree | 405fa3f29adea6bacbaad6b1edf8ad8f9e5b718a /lib/strerror.c | |
parent | 42d365f199f9637820de4ecdee21bc7d4668f138 (diff) | |
download | curl-605bbfc4c0fa838f50bf9d18e69e417168f524c0.tar.gz |
- Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. This
command is a special "hack" used by the drftpd server, but even though it is
a custom extension I've deemed it fine to add to libcurl since this server
seems to survive and people keep using it and want libcurl to support
it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also
usable from the curl tool with --ftp-pret. Using this option on a server
that doesn't support this command will make libcurl fail.
Diffstat (limited to 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index 75067a7d0..da223f58d 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -81,6 +81,9 @@ curl_easy_strerror(CURLcode error) case CURLE_REMOTE_ACCESS_DENIED: return "Access denied to remote resource"; + case CURLE_FTP_PRET_FAILED: + return "FTP: The server did not accept the PRET command."; + case CURLE_FTP_WEIRD_PASS_REPLY: return "FTP: unknown PASS reply"; |