Go to the source code of this file.
|
static int | ftp_getc (FTPContext *s) |
|
static int | ftp_get_line (FTPContext *s, char *line, int line_size) |
|
static int | ftp_status (FTPContext *s, char **line, const int response_codes[]) |
|
static int | ftp_send_command (FTPContext *s, const char *command, const int response_codes[], char **response) |
|
static void | ftp_close_data_connection (FTPContext *s) |
|
static void | ftp_close_both_connections (FTPContext *s) |
|
static int | ftp_auth (FTPContext *s) |
|
static int | ftp_passive_mode_epsv (FTPContext *s) |
|
static int | ftp_passive_mode (FTPContext *s) |
|
static int | ftp_current_dir (FTPContext *s) |
|
static int | ftp_file_size (FTPContext *s) |
|
static int | ftp_retrieve (FTPContext *s) |
|
static int | ftp_store (FTPContext *s) |
|
static int | ftp_type (FTPContext *s) |
|
static int | ftp_restart (FTPContext *s, int64_t pos) |
|
static int | ftp_features (FTPContext *s) |
|
static int | ftp_connect_control_connection (URLContext *h) |
|
static int | ftp_connect_data_connection (URLContext *h) |
|
static int | ftp_abort (URLContext *h) |
|
static int | ftp_open (URLContext *h, const char *url, int flags) |
|
static int64_t | ftp_seek (URLContext *h, int64_t pos, int whence) |
|
static int | ftp_read (URLContext *h, unsigned char *buf, int size) |
|
static int | ftp_write (URLContext *h, const unsigned char *buf, int size) |
|
static int | ftp_close (URLContext *h) |
|
static int | ftp_get_file_handle (URLContext *h) |
|
static int | ftp_shutdown (URLContext *h, int flags) |
|
#define CONTROL_BUFFER_SIZE 1024 |
#define CREDENTIALS_BUFFER_SIZE 128 |
Definition at line 58 of file ftp.c.
Definition at line 59 of file ftp.c.
Definition at line 60 of file ftp.c.
- Enumerator:
UNKNOWN |
|
READY |
|
DOWNLOADING |
|
UPLOADING |
|
DISCONNECTED |
|
Definition at line 31 of file ftp.c.
static int ftp_get_line |
( |
FTPContext * |
s, |
|
|
char * |
line, |
|
|
int |
line_size |
|
) |
| |
|
static |
static int ftp_status |
( |
FTPContext * |
s, |
|
|
char ** |
line, |
|
|
const int |
response_codes[] |
|
) |
| |
|
static |
static int ftp_send_command |
( |
FTPContext * |
s, |
|
|
const char * |
command, |
|
|
const int |
response_codes[], |
|
|
char ** |
response |
|
) |
| |
|
static |
Definition at line 181 of file ftp.c.
Referenced by ftp_abort(), ftp_auth(), ftp_current_dir(), ftp_features(), ftp_file_size(), ftp_passive_mode(), ftp_passive_mode_epsv(), ftp_restart(), ftp_retrieve(), ftp_store(), and ftp_type().
static int ftp_passive_mode_epsv |
( |
FTPContext * |
s | ) |
|
|
static |
static int ftp_restart |
( |
FTPContext * |
s, |
|
|
int64_t |
pos |
|
) |
| |
|
static |
static int ftp_connect_control_connection |
( |
URLContext * |
h | ) |
|
|
static |
static int ftp_connect_data_connection |
( |
URLContext * |
h | ) |
|
|
static |
static int ftp_open |
( |
URLContext * |
h, |
|
|
const char * |
url, |
|
|
int |
flags |
|
) |
| |
|
static |
static int64_t ftp_seek |
( |
URLContext * |
h, |
|
|
int64_t |
pos, |
|
|
int |
whence |
|
) |
| |
|
static |
static int ftp_read |
( |
URLContext * |
h, |
|
|
unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
static int ftp_write |
( |
URLContext * |
h, |
|
|
const unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
static int ftp_shutdown |
( |
URLContext * |
h, |
|
|
int |
flags |
|
) |
| |
|
static |
Initial value:= {
{
"timeout",
"set timeout of socket I/O operations",
OFFSET(rw_timeout),
AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX,
D|
E },
{
"ftp-write-seekable",
"control seekability of connection during encoding",
OFFSET(write_seekable),
AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1,
E },
{
"ftp-anonymous-password",
"password for anonymous login. E-mail address should be used.",
OFFSET(anonymous_password),
AV_OPT_TYPE_STRING, { 0 }, 0, 0,
D|
E },
{NULL}
}
Definition at line 61 of file ftp.c.
Initial value:= {
.class_name = "ftp",
}
Definition at line 68 of file ftp.c.
Initial value:
Definition at line 789 of file ftp.c.