|
MIDAS
|

Go to the source code of this file.
Macros | |
| #define | FTP_SUCCESS 1 |
| #define | FTP_NET_ERROR 802 |
| #define | FTP_FILE_ERROR 803 |
| #define | FTP_RESPONSE_ERROR 804 |
| #define | FTP_INVALID_ARG 805 |
Functions | |
| void | ftp_debug (int(*debug_func)(const char *message), int(*error_func)(const char *message)) |
| int | ftp_connect (FTP_CON **con, const char *host_name, unsigned short port) |
| int | ftp_send_message (FTP_CON *con, const char *message) |
| int | ftp_command (FTP_CON *con, const char *command, const char *param,...) |
| int | ftp_get_message (FTP_CON *con, char *message) |
| BOOL | ftp_good (int number,...) |
| int | ftp_data (FTP_CON *con, const char *command, const char *file) |
| int | ftp_close (FTP_CON *con) |
| int | ftp_send (int sock, const char *buffer, int n_bytes_to_write) |
| int | ftp_receive (int sock, char *buffer, int bsize) |
| int | ftp_login (FTP_CON **con, const char *host, unsigned short port, const char *user, const char *password, const char *account) |
| int | ftp_bye (FTP_CON *con) |
| int | ftp_port (FTP_CON *con, int a, int b, int c, int d, int e, int f) |
| int | ftp_move (FTP_CON *con, const char *oldname, const char *newname) |
| int | ftp_get (FTP_CON *con, const char *local_name, const char *remote_name) |
| int | ftp_put (FTP_CON *con, const char *local_name, const char *remote_name) |
| char * | ftp_pwd (FTP_CON *con) |
| int | ftp_dir (FTP_CON *con, const char *file) |
Variables | |
| static char | bars [] = "/-\\|" |
| int(* | ftp_debug_func )(const char *message) |
| int(* | ftp_error_func )(const char *message) |
| #define FTP_FILE_ERROR 803 |
Definition at line 21 of file ftplib.cxx.
| #define FTP_INVALID_ARG 805 |
Definition at line 23 of file ftplib.cxx.
| #define FTP_NET_ERROR 802 |
Definition at line 20 of file ftplib.cxx.
| #define FTP_RESPONSE_ERROR 804 |
Definition at line 22 of file ftplib.cxx.
| #define FTP_SUCCESS 1 |
Definition at line 19 of file ftplib.cxx.
| int ftp_bye | ( | FTP_CON * | con | ) |
Definition at line 422 of file ftplib.cxx.


| int ftp_close | ( | FTP_CON * | con | ) |
Definition at line 334 of file ftplib.cxx.


| int ftp_command | ( | FTP_CON * | con, |
| const char * | command, | ||
| const char * | param, | ||
| ... | |||
| ) |
Definition at line 146 of file ftplib.cxx.


| int ftp_connect | ( | FTP_CON ** | con, |
| const char * | host_name, | ||
| unsigned short | port | ||
| ) |
Definition at line 41 of file ftplib.cxx.


| int ftp_data | ( | FTP_CON * | con, |
| const char * | command, | ||
| const char * | file | ||
| ) |
Definition at line 250 of file ftplib.cxx.


Definition at line 32 of file ftplib.cxx.

| int ftp_dir | ( | FTP_CON * | con, |
| const char * | file | ||
| ) |
Definition at line 587 of file ftplib.cxx.

| int ftp_get | ( | FTP_CON * | con, |
| const char * | local_name, | ||
| const char * | remote_name | ||
| ) |
Definition at line 475 of file ftplib.cxx.

| int ftp_get_message | ( | FTP_CON * | con, |
| char * | message | ||
| ) |
Definition at line 194 of file ftplib.cxx.


| BOOL ftp_good | ( | int | number, |
| ... | |||
| ) |
Definition at line 223 of file ftplib.cxx.

| int ftp_login | ( | FTP_CON ** | con, |
| const char * | host, | ||
| unsigned short | port, | ||
| const char * | user, | ||
| const char * | password, | ||
| const char * | account | ||
| ) |
Definition at line 388 of file ftplib.cxx.


| int ftp_move | ( | FTP_CON * | con, |
| const char * | oldname, | ||
| const char * | newname | ||
| ) |
Definition at line 460 of file ftplib.cxx.


| int ftp_port | ( | FTP_CON * | con, |
| int | a, | ||
| int | b, | ||
| int | c, | ||
| int | d, | ||
| int | e, | ||
| int | f | ||
| ) |
Definition at line 438 of file ftplib.cxx.


| int ftp_put | ( | FTP_CON * | con, |
| const char * | local_name, | ||
| const char * | remote_name | ||
| ) |
Definition at line 518 of file ftplib.cxx.

| char * ftp_pwd | ( | FTP_CON * | con | ) |
Definition at line 560 of file ftplib.cxx.

| int ftp_receive | ( | int | sock, |
| char * | buffer, | ||
| int | bsize | ||
| ) |
Definition at line 367 of file ftplib.cxx.

| int ftp_send | ( | int | sock, |
| const char * | buffer, | ||
| int | n_bytes_to_write | ||
| ) |
Definition at line 346 of file ftplib.cxx.

| int ftp_send_message | ( | FTP_CON * | con, |
| const char * | message | ||
| ) |
Definition at line 129 of file ftplib.cxx.

|
static |
Definition at line 26 of file ftplib.cxx.
| int(* ftp_debug_func) (const char *message) | ( | const char * | message | ) |
Definition at line 27 of file ftplib.cxx.
| int(* ftp_error_func) (const char *message) | ( | const char * | message | ) |
Definition at line 28 of file ftplib.cxx.