Lukasz Marek
c84d6aa2f6
ftp: move create control connection to function
Move common code that opens control connection to function.
This code can be reused when reconnecting to FTP server
after inactivity.
12 years ago
Lukasz Marek
e46e49e31d
ftp: credentials moved into FTPContext
FTP server may disconnect client.
This commit stores credentials for future reconnect.
12 years ago
Lukasz Marek
80cce899f6
ftp: rename function name
ftp_send_command was used only once.
This commit makes this function specific, not generic
12 years ago
Lukasz Marek
afa30e51d1
ftp: formatting and typos fixes
12 years ago
Hendrik Leppkes
df07a833f1
ftp: favor strtoll over atoll
Both strtoll and atoll have different names on MSVC, and strtoll has a
compatibility layer in place for this case.
Fixes compilation on MSVC.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Lukasz Marek
c86d3a54de
FTP protocol support
Implementation of ftp protocol.
Fixes #1672
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago