Lines Matching defs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 FILE *tmp_nlst = NULL; /* tmp file; holds NLST results for mget, etc */
56 static int confirm(char *cmd, char *file);
300 * Set file transfer mode.
311 * Set file transfer format.
322 * Set file transfer structure.
334 * Send a single file.
349 if (prompt_for_arg(line, sizeof (line), "local-file") == -1) {
359 (void) printf("usage: %s local-file remote-file\n", argv[0]);
364 if (prompt_for_arg(line, sizeof (line), "remote-file") == -1) {
606 * Receive one file.
618 /* Only permit !file if two arguments. */
623 if (prompt_for_arg(line, sizeof (line), "remote-file") == -1) {
633 (void) printf("usage: %s remote-file [ local-file ]\n",
639 if (prompt_for_arg(line, sizeof (line), "local-file") == -1) {
990 * on local file names.
1089 * Delete a single file.
1096 if (prompt_for_arg(line, sizeof (line), "remote-file") < 0) {
1105 (void) printf("usage: %s remote-file\n", argv[0]);
1162 * Rename a remote file.
1212 (void) printf("usage: %s remote-directory local-file\n",
1251 if (prompt_for_arg(line, sizeof (line), "local-file") < 0) {
1260 (void) printf("usage: %s remote-files local-file\n", argv[0]);
1268 !confirm("output to local-file:", dest)) {
1613 confirm(char *cmd, char *file)
1620 (void) printf("%s %s? ", cmd, file);
1636 * Glob a local file name specification with
2198 (void) printf("macdef:end of file encountered\n");
2231 * The name strings for printing are in the arpa/ftp.h file in the