aboutsummaryrefslogtreecommitdiff
path: root/libftpconn
Commit message (Collapse)AuthorAgeFilesLines
...
* (ftp_conn_rmt_transfer):Miles Bader1997-08-081-1/+3
| | | | | If we get an error, close SRC_CONN instead of aborting it, to avoid problems with some ftp servers.
* (struct ftp_conn_syshooks):Miles Bader1997-08-081-11/+32
| | | | | | | | | | Add APPEND_NAME and BASENAME fields; remove FIX_NLIST_NAME field. (ftp_conn_unix_fix_nlist_name): Declaration removed. (ftp_conn_unix_append_name, ftp_conn_unix_basename): New declarations. (ftp_conn_append_name, ftp_conn_basename): New declarations.
* (ftp_conn_create):Miles Bader1997-08-081-4/+0
| | | | Don't open the connection here.
* (ftp_conn_unix_cont_get_stats):Miles Bader1997-08-081-13/+39
| | | | | | | | | | | Pass only directory-relative names to the callback function. (struct ftp_conn_unix_syshooks): Initialize APPEND_NAME and BASENAME fields; remove FIX_NLIST_NAME initialization. (ftp_conn_unix_fix_nlist_name): Function removed. (ftp_conn_unix_append_name, ftp_conn_unix_basename): New functions.
* Initial checkin.Miles Bader1997-08-081-0/+71
|
* .Miles Bader1997-08-071-0/+12
|
* (ftp_conn_cont_get_names):Miles Bader1997-08-071-2/+41
| | | | | | | | | | Support FIX_NLIST_NAME hook. Free S->dir if necessary. Close or abort connection when done. (ftp_conn_start_get_names): Fill in S->dir field if necessary. (struct get_names_state): Add DIR field.
* (struct ftp_conn_syshooks):Miles Bader1997-08-071-0/+12
| | | | | | Add FIX_NLIST_NAME field. (ftp_conn_unix_fix_nlist_name): New declaration.
* (ftp_conn_unix_syshooks):Miles Bader1997-08-071-1/+19
| | | | | | Add ftp_conn_unix_fix_nlist_name. (ftp_conn_unix_fix_nlist_name): New function.
* (parse_dir_entry):Miles Bader1997-08-061-2/+0
| | | | Re-enable mktime calls.
* .Miles Bader1997-08-061-0/+11
|
* (ftp_conn_sysify):Miles Bader1997-08-061-2/+2
| | | | Handle REPLY_UNIMP_CMD for "syst".
* (ftp_conn_unix_cont_get_stats):Miles Bader1997-08-041-0/+4
| | | | If returning with an error, ignore any return from ftp_conn_finish_transfer.
* .Miles Bader1997-06-091-0/+5
|
* (ftpcp, ftpdir):Miles Bader1997-06-091-4/+0
| | | | Rules removed.
* Moved to ../utilsMiles Bader1997-06-042-624/+0
|
* .Miles Bader1997-05-291-0/+10
|
* (doc):Miles Bader1997-05-291-101/+145
| | | | | | | | | | | | | Update. (main): Remove array of epoints & loops, & just use RD & WR, calling the e* functions above. Support DST being a directory. (econnect, eopen_wr, eopen_rd, efinish): New functions. (struct epoint): Remove FD field. Rename RMT_FILE & RMT_HOST to FILE & HOST.
* Initial checkinMiles Bader1997-05-152-0/+580
|
* .Miles Bader1997-05-141-0/+9
|
* (ftp_conn_unix_cont_get_stats): Clean up our ftp transfer when we're done.Miles Bader1997-05-141-0/+2
|
* (ftp_conn_login): Correct defaulting of username.Miles Bader1997-05-141-2/+2
|
* (CPPFLAGS):Miles Bader1997-05-121-0/+5
| | | | Add -DHAVE_HURD_HURD_TYPES_H.
* (ftp_conn_start_get_stats, ftp_conn_get_stats):Miles Bader1997-05-121-15/+10
| | | | Rename FORCE_DIR argument to CONTENTS.
* .Miles Bader1997-05-121-0/+49
|
* (REPLY_ABORT_OK):Miles Bader1997-05-121-0/+1
| | | | New macro.
* (ftp_conn_get_raw_reply):Miles Bader1997-05-121-24/+26
| | | | | | | | New declaration. (ftp_conn_get_stats, ftp_conn_start_get_stats, ftp_conn_unix_start_get_stats): Rename FORCE_DIR argument to CONTENTS. (struct ftp_conn_syshooks): Rename FORCE_DIR argument of START_GET_STATS field type to CONTENTS.
* (ftp_conn_open):Miles Bader1997-05-121-1/+1
| | | | Cast 2nd arg in connect call to `struct sockaddr *'.
* (ftp_conn_abort):Miles Bader1997-05-121-2/+3
| | | | | | Use ftp_conn_get_raw_reply instead of ftp_conn_get_reply. Accept REPLY_ABORT_OK as a final reply. Include <string.h>.
* (ftp_conn_get_reply):Miles Bader1997-05-121-12/+37
| | | | | | New function. (ftp_conn_get_raw_reply): Renamed from ftp_conn_get_reply.
* (ftp_conn_unix_cont_get_stats):Miles Bader1997-05-121-27/+80
| | | | | | | | | | | | | | | | | | | Remove any initial `./' we added. Abort CONN if we return an error. (ftp_conn_unix_start_get_stats): Don't use asprintf. Set ADDED_SLASH field. Change FORCE_DIR argument to CONTENTS. Pass -A flag. Prepend ./ to NAME if it doesn't contain a slash. Reject names containg possible meta-characters. (struct get_stats_state): Add ADDED_SLASH field. Add CONTENTS field. (parse_dir_entry): Only set stat->st_fstype if FSTYPE_FTP is defined. Only set stat->st_author if HAVE_STAT_ST_AUTHOR is defined. Only include <hurd/hurd_types.h> if HAVE_HURD_HURD_TYPES_H is defined.
* .Miles Bader1997-05-071-0/+40
|
* (SRCS): ftpconn.c replaced by resulting split files.Miles Bader1997-05-071-2/+3
|
* Initial checkinMiles Bader1997-05-0714-0/+1604
|
* Split into separate filesMiles Bader1997-05-071-1068/+0
|
* (ftp_conn_add_name_fun_t): New type.Miles Bader1997-05-071-0/+30
| | | | | (ftp_conn_start_get_names, ftp_conn_cont_get_names, ftp_conn_get_names): New functions.
* .Miles Bader1997-05-071-0/+6
|
* (ftp_conn_add_stat_fun_t):Miles Bader1997-05-071-5/+6
| | | | | Make first 3 params const. Update comment to say they should be copied if retained.
* (struct get_stats_state): Add NAME_LEN & NAME_ALLOCED fields.Miles Bader1997-05-071-28/+30
| | | | | (ftp_conn_unix_cont_get_stats): Retain S's name buffer between entries, only growing it when needed; leave any copying to the client.
* .Miles Bader1997-05-071-0/+4
|
* (installhdrsubdir): New variable.Miles Bader1997-05-071-0/+1
|
* Initial checkin.Miles Bader1997-05-075-0/+1989