Home
last modified time | relevance | path

Searched refs:ftp_line (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/net/
Dftpget.c75 static int ftp_line(char *cmd, char *arg, int must) in ftp_line() function
114 ftp_line(0, 0, 220); in ftpget_main()
115 rc = ftp_line("USER", TT.user, 0); in ftpget_main()
116 if (rc == 331) rc = ftp_line("PASS", TT.password, 0); in ftpget_main()
121 ftp_line("RNFR", toys.optargs[1], 350); in ftpget_main()
122 ftp_line("RNTO", toys.optargs[2], 250); in ftpget_main()
123 } else if (toys.optflags & FLAG_M) ftp_line("MKD", toys.optargs[1], 257); in ftpget_main()
124 else if (toys.optflags & FLAG_d) ftp_line("DELE", toys.optargs[1], 250); in ftpget_main()
125 else if (toys.optflags & FLAG_D) ftp_line("RMD", toys.optargs[1], 250); in ftpget_main()
131 ftp_line("TYPE", "I", 0); in ftpget_main()
[all …]