Lines Matching refs:ftp_line
73 static int ftp_line(char *cmd, char *arg, int must) in ftp_line() function
113 ftp_line(0, 0, 220); in ftpget_main()
114 rc = ftp_line("USER", TT.u, 0); in ftpget_main()
115 if (rc == 331) rc = ftp_line("PASS", TT.P, 0); in ftpget_main()
120 ftp_line("RNFR", toys.optargs[1], 350); in ftpget_main()
121 ftp_line("RNTO", toys.optargs[2], 250); in ftpget_main()
122 } else if (toys.optflags & FLAG_M) ftp_line("MKD", toys.optargs[1], 257); in ftpget_main()
123 else if (toys.optflags & FLAG_d) ftp_line("DELE", toys.optargs[1], 250); in ftpget_main()
124 else if (toys.optflags & FLAG_D) ftp_line("RMD", toys.optargs[1], 250); in ftpget_main()
130 ftp_line("TYPE", "I", 0); in ftpget_main()
131 rc = ftp_line("PASV", 0, 0); in ftpget_main()
156 if (ftp_line("SIZE", remote, 0) == 213) in ftpget_main()
177 ftp_line("REST", buf, 350); in ftpget_main()
180 ftp_line(cmd, remote, -1); in ftpget_main()
182 ftp_line(0, 0, (toys.optflags&FLAG_g) ? 226 : 150); in ftpget_main()
189 ftp_line(cmd, remote, 150); in ftpget_main()
196 ftp_line("QUIT", 0, 0); in ftpget_main()