#include "curl_setup.h"
#include <curl/curl.h>
#include "urldata.h"
#include "fileinfo.h"
#include "llist.h"
#include "strtoofft.h"
#include "ftp.h"
#include "ftplistparser.h"
#include "curl_fnmatch.h"
#include "curl_memory.h"
#include "memdebug.h"
Go to the source code of this file.
|
enum | pl_unix_mainstate {
PL_UNIX_TOTALSIZE = 0,
PL_UNIX_FILETYPE,
PL_UNIX_PERMISSION,
PL_UNIX_HLINKS,
PL_UNIX_USER,
PL_UNIX_GROUP,
PL_UNIX_SIZE,
PL_UNIX_TIME,
PL_UNIX_FILENAME,
PL_UNIX_SYMLINK
} |
|
enum | pl_winNT_mainstate { PL_WINNT_DATE = 0,
PL_WINNT_TIME,
PL_WINNT_DIRORSIZE,
PL_WINNT_FILENAME
} |
|
#define FTP_BUFFER_ALLOCSIZE 160 |
Now implemented:
1) Unix version 1 drwxr-xr-x 1 user01 ftp 512 Jan 29 23:32 prog 2) Unix version 2 drwxr-xr-x 1 user01 ftp 512 Jan 29 1997 prog 3) Unix version 3 drwxr-xr-x 1 1 1 512 Jan 29 23:32 prog 4) Unix symlink lrwxr-xr-x 1 user01 ftp 512 Jan 29 23:32 prog -> prog2000 5) DOS style 01-29-97 11:32PM <DIR> prog
Definition at line 56 of file ftplistparser.c.
#define FTP_LP_MALFORMATED_PERM 0x01000000 |
Enumerator |
---|
PL_UNIX_TOTALSIZE |
|
PL_UNIX_FILETYPE |
|
PL_UNIX_PERMISSION |
|
PL_UNIX_HLINKS |
|
PL_UNIX_USER |
|
PL_UNIX_GROUP |
|
PL_UNIX_SIZE |
|
PL_UNIX_TIME |
|
PL_UNIX_FILENAME |
|
PL_UNIX_SYMLINK |
|
Definition at line 58 of file ftplistparser.c.
Enumerator |
---|
PL_WINNT_DATE |
|
PL_WINNT_TIME |
|
PL_WINNT_DIRORSIZE |
|
PL_WINNT_FILENAME |
|
Definition at line 124 of file ftplistparser.c.
static int ftp_pl_get_permission |
( |
const char * |
str | ) |
|
|
static |