summaryrefslogtreecommitdiffstats
path: root/libssh/sftp.c
Commit message (Collapse)AuthorAgeFilesLines
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-3207/+0
|
* Fix warning for snprintfAris Adamantiadis2010-05-311-0/+1
|
* sftp: Fixed sftp_chown.Andreas Schneider2010-05-171-1/+2
|
* Fix sftp_rename on sftp3Aris Adamantiadis2010-05-171-2/+3
|
* Sanitize libssh namespace + legacy wrappersAris Adamantiadis2010-05-141-250/+250
|
* Fix warnings found with clang analyzerAris Adamantiadis2010-04-281-3/+3
|
* Fix bugs found by clang analyzerAris Adamantiadis2010-04-281-4/+2
|
* Fixed a build warning in sftp.Andreas Schneider2010-03-291-0/+1
|
* Fixed sftp_parse_longname() on Windows.Andreas Schneider2010-03-021-2/+12
| | | | There is no strndup function on Windows.
* Fixed longname parsing, this only workings with readdir.Andreas Schneider2010-02-241-12/+13
|
* Added owner and group information in sftp attributes.Andreas Schneider2010-02-231-0/+53
| | | | | Parse the longname which is the output of 'ls -l' and set the owner and group if we are talking to an openssh server.
* improve error reporting of sftp.cBernhard R. Link2009-10-251-37/+203
| | | | Signed-off-by: Andreas Schneider <mail@cynapses.org>
* buffer_get_data returns 0 on error, so checking buffer_get_u* for < 0 makes ↵Bernhard R. Link2009-10-251-1/+1
| | | | | | no sense Signed-off-by: Andreas Schneider <mail@cynapses.org>
* fix stupid bugAris Adamantiadis2009-10-231-1/+1
|
* Compatibility with (broken) sftp version 2 protocolsAris Adamantiadis2009-10-231-10/+35
|
* Remove deprecated functions.Andreas Schneider2009-10-131-13/+0
|
* Fix a memory corruption in parse_status_msgVic Lee2009-10-111-1/+1
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Andreas Schneider <mail@cynapses.org>
* updated the sftp subsystem to follow the type convAris Adamantiadis2009-10-101-169/+166
|
* More include file splittingAris Adamantiadis2009-09-261-0/+1
|
* Moved lots of declaration out of priv.hAris Adamantiadis2009-09-231-2/+5
|
* get rid of SSH_SESSIONAris Adamantiadis2009-09-231-2/+2
|
* Fixed building libssh with MSVC.Andreas Schneider2009-09-211-5/+8
| | | | Thanks to Carlo Segato for the patch.
* Fixed fstatvfs function.Andreas Schneider2009-09-101-2/+2
|
* Fixed "var is uninitialized" bug.Dmitry V. Krivenok2009-09-101-1/+1
| | | | | | | | | | | gcc-4.4.1 reported: /home/krivenok/dev_builds/libssh/libssh/sftp.c:2700: warning: 'sftp' is used uninitialized in this function sftp is NULL-initialized now. Signed-off-by: Dmitry V. Krivenok <krivenok@orangesystem.ru> Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Don't shadow global vairables.Andreas Schneider2009-08-191-28/+28
|
* Add sftp_extension_supported() function.Andreas Schneider2009-08-121-17/+15
|
* Add support for OpenSSH's statvfs and fstatvfs calls.Andreas Schneider2009-08-121-2/+247
|
* Add functions to get the extension count, name and data.Andreas Schneider2009-07-281-0/+32
|
* Add support to read and store sftp extensions.Andreas Schneider2009-07-281-21/+117
|
* Check for OpenSSH and implement sftp_symlink correct.Andreas Schneider2009-07-281-4/+26
| | | | | | | | When OpenSSH's sftp-server was implemented, the order of the arguments to the SSH_FXP_SYMLINK method was inadvertently reversed. Unfortunately, the reversal was not noticed until the server was widely deployed. Since fixing this to follow the specification would cause incompatibility, the current order was retained.
* Switch completly to stdint types.Andreas Schneider2009-07-251-46/+46
|
* Fix conflicting declarations of ssh_session and ssh_kbdint.Andreas Schneider2009-07-251-1/+1
|
* Fix return value of sftp_tell64().Andreas Schneider2009-07-251-1/+1
|
* Add a sftp_tel64() function.Andreas Schneider2009-07-251-1/+5
|
* Add sftp_readlink function.Andreas Schneider2009-07-251-0/+74
|
* Add sftp_symlink function.Andreas Schneider2009-07-251-0/+83
|
* Changes all CHANNEL * to ssh_channelAris Adamantiadis2009-07-241-1/+1
|
* Changed all occurences of BUFFER * to ssh_bufferAris Adamantiadis2009-07-241-22/+22
|
* Change all occurences of STRING * to ssh_stringAris Adamantiadis2009-07-241-21/+21
|
* Fix a possible segfault in sftp_canonicalize_path().Andreas Schneider2009-07-231-0/+4
|
* Add logging of the sftp flags used to open a fileAris Adamantiadis2009-06-301-1/+1
| | | | Should be used to debug weird behaviour when using libssh on windows with different compiler chains.
* Fixed Could not write as much data as expected msgAris Adamantiadis2009-06-301-1/+1
| | | | Bug caused by verifying the size of the buffer in the wrong place
* Fixed yet another read-after-free bugAris Adamantiadis2009-06-211-2/+3
| | | | read of a buffer len after free in sftp_write()
* Fix build warnings.Andreas Schneider2009-06-091-0/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@774 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix the vim modeline and place it at the end of the file.Andreas Schneider2009-05-121-3/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix compilation on windows.Andreas Schneider2009-05-051-0/+6
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@744 7dcaeef0-15fb-0310-b436-a5af3365683c
* Implement channel_read() as a POSIX like function.Andreas Schneider2009-05-041-3/+3
| | | | | | | Create channel_read_buffer() to have the old version still available. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@700 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add option to build with or without sftp support.Andreas Schneider2009-04-271-2/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@618 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve sftp_fstat.Andreas Schneider2009-04-271-28/+41
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@617 7dcaeef0-15fb-0310-b436-a5af3365683c
* Reformat sftp_stat and sftp_lstat.Andreas Schneider2009-04-271-4/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@616 7dcaeef0-15fb-0310-b436-a5af3365683c