Searched refs:ftpcmd (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/
H A Dftpgetput.c40 static int ftpcmd(const char *s1, const char *s2, FILE *stream, char *buf) function
107 if (ftpcmd(NULL, NULL, control_stream, buf) != 220) {
112 switch (ftpcmd("USER", server->user, control_stream, buf)) {
116 if (ftpcmd("PASS", server->password, control_stream, buf) != 230) {
124 ftpcmd("TYPE I", NULL, control_stream, buf);
146 if (ftpcmd("PASV", NULL, control_stream, buf) != 227) {
151 if (ftpcmd("SIZE", server_path, control_stream, buf) == 213) {
178 if (ftpcmd(buf, NULL, control_stream, buf) != 350) {
186 if (ftpcmd("RETR", server_path, control_stream, buf) > 150) {
210 if (ftpcmd(NUL
[all...]
H A Dwget.c29 static int ftpcmd(const char *s1, const char *s2, FILE *fp, char *buf);
371 if (ftpcmd(NULL, NULL, sfp, buf) != 220)
381 switch (ftpcmd("USER ", target.user, sfp, buf)) {
385 if (ftpcmd("PASS ", str, sfp, buf) == 230)
392 ftpcmd("TYPE I", NULL, sfp, buf);
397 if (ftpcmd("SIZE ", target.path, sfp, buf) == 213) {
408 if (ftpcmd("PASV", NULL, sfp, buf) != 227) {
429 if (ftpcmd(buf, NULL, sfp, buf) == 350)
433 if (ftpcmd("RETR ", target.path, sfp, buf) > 150)
496 if (ftpcmd(NUL
627 static int ftpcmd(const char *s1, const char *s2, FILE *fp, char *buf) function
[all...]

Completed in 70 milliseconds