Searched refs:get_ftp_response (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | ftpget.c | 87 static int get_ftp_response(char *command, char *param) in get_ftp_response() function 115 if (get_ftp_response(NULL, NULL) != FTPSERVER_READY) close_stream(NULL); in send_requests() 118 cmd_status = get_ftp_response("USER", TT.username); in send_requests() 120 if (get_ftp_response("PASS", TT.password) != USERLOGGED_SUCCESS) in send_requests() 125 if (get_ftp_response("TYPE I", NULL) != FTP_COMMAND_OKAY) in send_requests() 156 if (get_ftp_response("PASV", NULL) != PASSIVE_MODE) goto close_stream; in verify_pasv_mode() 173 if (TT.isget && get_ftp_response("SIZE", r_filename) != FTPFILE_STATUS) in verify_pasv_mode() 193 if (get_ftp_response(toybuf, NULL) != REQUESTED_PENDINGACTION) TT.c = 0; in is_localfile_present() 223 if (get_ftp_response("RETR", r_filename) > FTPFILE_STATUSOKAY) in get_file() 236 if (get_ftp_response(NULL, NULL) != CLOSE_DATACONECTION) close_stream(NULL); in get_file() [all …]
|