summaryrefslogtreecommitdiff
path: root/daemon/gvfsftpconnection.h
Commit message (Collapse)AuthorAgeFilesLines
* [FTP] Bug 516704 – Be able to connect to an Active FTP SiteBenjamin Otte2009-06-151-0/+7
| | | | | Add initial support for the PORT command. Support for EPRT and a non-ugly API are still missing.
* [FTP] get rid of connection read/write functionsBenjamin Otte2009-06-111-15/+0
| | | | | use get_data_stream() instead and call read/write on that manually. Reduces the number of API.
* [FTP] simplify debug id APIBenjamin Otte2009-06-111-2/+2
| | | | Add a separate function for requesting the debug id
* [FTP] whitespace changesBenjamin Otte2009-06-111-1/+1
| | | | | - replace tabs with 8 spaces - remove spaces at end of line
* [FTP] improve debuggingBenjamin Otte2009-06-111-9/+2
| | | | | - print LIST replies again - make connections have a debug id and use it for debugging prints
* [FTP] rework cache handlingBenjamin Otte2009-06-111-0/+1
| | | | | | The cache handling has been split into a separate file and structure now. While the API still isn't perfect, it's much clearer than before. It's also faster when looking up lots of symlinks.
* [FTP] introduce GVfsFtpTaskBenjamin Otte2009-06-111-0/+1
| | | | | | | | | | | | | split out the old FtpConnection struct into a separate GVfsFtpTask structure that acts as a one-stop solution to vfuncs. It keeps track of all important structures: - the backend - the current job - the potential connection to the server - the error state during the lifetime of a backend vfunc and supplies convenience functions to ease implementing these vfuncs. The API of gvfsftptask.h is documented.
* [FTP] split out connection codeBenjamin Otte2009-06-111-0/+86
the current FtpConnection object is not flexible enough. It is doing too many things at once, namely: 1) handling a physical connection to the ftp server 2) handling a GVfsJob's lifetime Also, the file gvfsbackendftp.c is too big, counting >2000 lines. This is the first step in an attempt to separate these two things. It splits out the physical connection into different files and makes the old FtpConnection code use this instead. A side effect of this is that it includes a change so that reading lines is now done with a GDataInputStream instead of manually, as suggested by Alex.