Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-12 | Added per-protocol callback static tables, replacing callback ptr storage | Patrick Monnerat | |
in the connectdata structure by a single handler table ptr. | |||
2007-10-03 | I renamed the CURLE_SSL_PEER_CERTIFICATE error code to | Daniel Stenberg | |
CURLE_PEER_FAILED_VERIFICATION (standard CURL_NO_OLDIES style), and made this return code get used by the previous SSH MD5 fingerprint check in case it fails. | |||
2007-10-03 | Based on a patch brought by Johnny Luong, libcurl now offers | Daniel Stenberg | |
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and the curl tool --hostpubmd5. They both make the SCP or SFTP connection verify the remote host's md5 checksum of the public key before doing a connect, to reduce the risk of a man-in-the-middle attack. | |||
2007-09-29 | Immanuel Gregoire fixed a problem with persistent transfers over SFTP - the | Daniel Stenberg | |
previous proto struct was kept. | |||
2007-09-28 | rename variable to prevent shadow warning | Daniel Stenberg | |
2007-09-18 | Immanuel pointed out that public key SSH auth failed if no public/private | Daniel Stenberg | |
key was specified and there was no HOME environment variable, and then it didn't continue to try the other auth methods. Now it will instead try to get the files id_dsa.pub and id_dsa from the current directory if none of the two conditions were met. | |||
2007-08-30 | Added more accurate error code returns from SFTP operations. Added test | Dan Fandrich | |
case 615 to test an SFTP upload failure. | |||
2007-08-30 | Renamed several libcurl error codes and options to make them more general | Dan Fandrich | |
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3) | |||
2007-08-03 | Start adding some expanded error conversion of libssh2 errors. | James Housley | |
2007-08-03 | remove left-over partly support for libssh2 0.14 | Daniel Stenberg | |
2007-08-03 | The SSH code now only works with libssh2 0.16 or later. Thus we must not | Daniel Stenberg | |
release the next curl until there is a libssh2 0.16 released. | |||
2007-08-01 | Patrick Monnerat and I modified libcurl so that now it *copies* all strings | Daniel Stenberg | |
passed to it with curl_easy_setopt()! Previously it has always just refered to the data, forcing the user to keep the data around until libcurl is done with it. That is now history and libcurl will instead clone the given strings and keep private copies. | |||
2007-07-21 | Make the pointers of a few static const arrays const, too, for safety. | Dan Fandrich | |
2007-07-20 | Fix a loop with PWD | James Housley | |
2007-07-20 | Made some const arrays static to avoid unnecessary stack usage. | Dan Fandrich | |
2007-07-18 | As has been pointed out, err_msg should not be freed here. The actual | James Housley | |
issue is in libssh2 and not freeing a dynamic error message during cleanup. | |||
2007-07-14 | for now unless we do better fixed LIBSSH2_APINO compares to use long constants. | Gunter Knauf | |
2007-07-10 | * Finish moving sftp:// into a state machine so it won't block in multi mode | James Housley | |
* Move scp:// into a state machine so it won't block in multi mode * When available use the full directory entry from the sftp:// server | |||
2007-07-05 | Gavrie Philipson provided a patch that will use a more specific error | James Housley | |
message for an scp:// upload failure. If libssh2 has his matching patch, then the error message return by the server will be used instead of a more generic error. | |||
2007-07-04 | Fix spelling error in error message | James Housley | |
2007-06-27 | Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS | James Housley | |
and CURLOPT_NEW_DIRECTORY_PERMS. These control the premissions for files and directories created on the remote server. CURLOPT_NEW_FILE_PERMS defaults to 0644 and CURLOPT_NEW_DIRECTORY_PERMS defaults to 0755 | |||
2007-06-27 | removed trailing spaces. | Gunter Knauf | |
2007-06-27 | fixed wrong var name | Gunter Knauf | |
2007-06-26 | The results for a list only directory should be sent to the callback | James Housley | |
2007-06-26 | ftp_list_only mode should list all file types, not just directories. | James Housley | |
2007-06-20 | If the creation of rsa and rsa_pub fail due to memory, don't try | James Housley | |
other authentication methods. Terminate with a memory error. | |||
2007-06-19 | Check both variables, not the same one twice. Pointed out by Colin Hogben | James Housley | |
2007-06-19 | extra precaution to make PATH_MAX always be defined | Daniel Stenberg | |
2007-06-19 | Change rsa and rsa_pub from static arrays in ssh_conn to be dynamically | James Housley | |
allocated when needed | |||
2007-06-18 | If LIBSSH2DEBUG was defined "i" was undefined | James Housley | |
2007-06-16 | Curl_ssh_connect() was using an uninitialized variable in one location. | James Housley | |
Caught by the auto-builds | |||
2007-06-14 | Remove duplicate code that was left in as part of 1.35. This code | James Housley | |
only affected sftp_sendquote() for the "chgrp/chmod/chown" commands. This also fixed failure of test 614 on a system that previously failed. | |||
2007-06-14 | BUG FIX: When reading a directory listing that contains symlinks | James Housley | |
with the latest libssh2, the listing would be truncated at the symlink. Fix by looping on LIBSSH2_ERROR_EAGAIN, like the rest of the calls. | |||
2007-06-13 | Restore functionality mistakenly removed in the previous commit | James Housley | |
2007-06-13 | libssh2_session_free() returns void. Fix "#endif". | Gisle Vanem | |
2007-06-13 | Commit Tom Regner's code for SFTP create missing directories. This patch | James Housley | |
uses the --ftp-create-dirs flag to control if cURL will try and create directories that are specified in an upload path, but don't exist. | |||
2007-06-13 | Add a define to protect the state machine from older versions of libssh2, | James Housley | |
ie 0.14, that don't know about newer constants used in the state machine. | |||
2007-06-12 | * Updates for the latest version of libssh2, specifically | James Housley | |
libssh2_sftp_shutdown() and libssh2_session_free() can now return LIBSSH2_ERROR_EAGAIN. * Fix the _send() and _recv() return values so non-blocking works | |||
2007-06-12 | While connect and transfer works fine in non-blocking mode for the test | James Housley | |
suite, transfer fails in the real world. So after connect set to blocking as full non-blocking is migrated out. | |||
2007-06-12 | Prevent the state machine from getting stuck in SSH_AUTH_HOST_INIT | James Housley | |
2007-06-12 | Convert Curl_ssh_connect() to run in a state machine for | James Housley | |
LIBSSH2_APINO >= 200706012030. More to come... | |||
2007-06-11 | Squelsh some warnings for libssh older than 0.1.5. | Gisle Vanem | |
2007-06-08 | Curl_scp_done() needs to call libssh2_channel_free() to prevent a | James Housley | |
memory leak, and it is the right thing to do. | |||
2007-06-08 | Fix to work with the latest CVS version of libssh2 | James Housley | |
* As of (LIBSSH2_APINO >= 200706012030) there are not *nb() functions * As of (LIBSSH2_APINO >= 200706012030) most libssh2_*() functions can return LIBSSH2_ERROR_EAGAIN to indicate that the call would block. To make the code work as previously, blocking, all the code has been updated so that when (LIBSSH2_APINO >= 200706012030) it loops simulating blocking. This allows the existing code to function and not hold up the upcoming release. | |||
2007-05-15 | Added support for quote commands before a transfer using SFTP and test | Dan Fandrich | |
case 614. Allow SFTP quote commands chmod, chown, chgrp to set a value of 0. | |||
2007-05-09 | Kristian Gunstone fixed a problem where overwriting an uploaded file with | Dan Fandrich | |
sftp didn't truncate it first, which would corrupt the file if the new file was shorter than the old. | |||
2007-05-08 | CURLE_FTP_COULDNT_STOR_FILE is now known as CURLE_UPLOAD_FAILED. This is | Daniel Stenberg | |
because I just made SCP uploads return this value if the file size of the upload file isn't given with CURLOPT_INFILESIZE*. Docs updated to reflect this news, and a define for the old name was added to the public header file. | |||
2007-04-18 | clarify the comment about libssh2_sftp_write's return type | Daniel Stenberg | |
2007-04-18 | - James Housley made SFTP uploads use libssh2's non-blocking API (if available) | Daniel Stenberg | |
2007-04-08 | Nick Zitzmann did ssh.c cleanups | Daniel Stenberg | |