FFmpeg
Data Fields
FTPContext Struct Reference

Data Fields

const AVClassclass
 
URLContextconn_control
 Control connection. More...
 
URLContextconn_data
 Data connection, NULL when not connected. More...
 
uint8_t control_buffer [CONTROL_BUFFER_SIZE]
 Control connection buffer. More...
 
uint8_t * control_buf_ptr
 
uint8_t * control_buf_end
 
int server_data_port
 Data connection port opened by server, -1 on error. More...
 
int server_control_port
 Control connection port, default is 21. More...
 
char * hostname
 Server address. More...
 
char * user
 Server user. More...
 
char * password
 Server user's password. More...
 
char * path
 Path to resource on server. More...
 
int64_t filesize
 Size of file on server, -1 on error. More...
 
int64_t position
 Current position, calculated. More...
 
int rw_timeout
 Network timeout. More...
 
const char * anonymous_password
 Password to be used for anonymous user. More...
 
int write_seekable
 Control seekability, 0 = disable, 1 = enable. More...
 
FTPState state
 State of data connection. More...
 
FTPListingMethod listing_method
 Called listing method. More...
 
char * features
 List of server's features represented as raw response. More...
 
char * dir_buffer
 
size_t dir_buffer_size
 
size_t dir_buffer_offset
 
int utf8
 
const char * option_user
 User to be used if none given in the URL. More...
 
const char * option_password
 Password to be used if none given in the URL. More...
 

Detailed Description

Definition at line 52 of file ftp.c.

Field Documentation

◆ class

const AVClass* FTPContext::class

Definition at line 53 of file ftp.c.

◆ conn_control

URLContext* FTPContext::conn_control

Control connection.

Definition at line 54 of file ftp.c.

◆ conn_data

URLContext* FTPContext::conn_data

Data connection, NULL when not connected.

Definition at line 55 of file ftp.c.

◆ control_buffer

uint8_t FTPContext::control_buffer[CONTROL_BUFFER_SIZE]

Control connection buffer.

Definition at line 56 of file ftp.c.

◆ control_buf_ptr

uint8_t* FTPContext::control_buf_ptr

Definition at line 57 of file ftp.c.

◆ control_buf_end

uint8_t * FTPContext::control_buf_end

Definition at line 57 of file ftp.c.

◆ server_data_port

int FTPContext::server_data_port

Data connection port opened by server, -1 on error.

Definition at line 58 of file ftp.c.

◆ server_control_port

int FTPContext::server_control_port

Control connection port, default is 21.

Definition at line 59 of file ftp.c.

◆ hostname

char* FTPContext::hostname

Server address.

Definition at line 60 of file ftp.c.

◆ user

char* FTPContext::user

Server user.

Definition at line 61 of file ftp.c.

◆ password

char* FTPContext::password

Server user's password.

Definition at line 62 of file ftp.c.

◆ path

char* FTPContext::path

Path to resource on server.

Definition at line 63 of file ftp.c.

◆ filesize

int64_t FTPContext::filesize

Size of file on server, -1 on error.

Definition at line 64 of file ftp.c.

◆ position

int64_t FTPContext::position

Current position, calculated.

Definition at line 65 of file ftp.c.

◆ rw_timeout

int FTPContext::rw_timeout

Network timeout.

Definition at line 66 of file ftp.c.

◆ anonymous_password

const char* FTPContext::anonymous_password

Password to be used for anonymous user.

An email should be used.

Definition at line 67 of file ftp.c.

◆ write_seekable

int FTPContext::write_seekable

Control seekability, 0 = disable, 1 = enable.

Definition at line 68 of file ftp.c.

◆ state

FTPState FTPContext::state

State of data connection.

Definition at line 69 of file ftp.c.

◆ listing_method

FTPListingMethod FTPContext::listing_method

Called listing method.

Definition at line 70 of file ftp.c.

◆ features

char* FTPContext::features

List of server's features represented as raw response.

Definition at line 71 of file ftp.c.

◆ dir_buffer

char* FTPContext::dir_buffer

Definition at line 72 of file ftp.c.

◆ dir_buffer_size

size_t FTPContext::dir_buffer_size

Definition at line 73 of file ftp.c.

◆ dir_buffer_offset

size_t FTPContext::dir_buffer_offset

Definition at line 74 of file ftp.c.

◆ utf8

int FTPContext::utf8

Definition at line 75 of file ftp.c.

◆ option_user

const char* FTPContext::option_user

User to be used if none given in the URL.

Definition at line 76 of file ftp.c.

◆ option_password

const char* FTPContext::option_password

Password to be used if none given in the URL.

Definition at line 77 of file ftp.c.


The documentation for this struct was generated from the following file: