int ftp_get_file(int sd, char *file_remote, char *file_local, int file_len, int max_wait_time)
{
char temp[200], cmds[300];
int len, len_recved =0, ret =0, code;
char buf[4096];
FILE *fp =NULL;
int sd_data =-1;
int ftp_put_file(int sd, char *file_local, int pos, char *file_remote, int max_wait_time)
{
char cmds[300];
int len, file_len =0, len_sent =0, ret =0, code;
char buf[4096];
FILE *fp =NULL;
int sd_data;