Lines Matching +defs:delete +defs:file

156  * Confirm if "cmd" is to be performed upon "file".
157 * If "file" is NULL, generate a "Continue with" prompt instead.
160 confirm(const char *cmd, const char *file)
168 if (file == NULL) {
173 promptright = file;
203 "\tn answer `no' for this file\n"
206 "\ty answer `yes' for this file\n"
350 * Set file transfer mode.
367 * Set file transfer format.
384 * Set file transfer structure.
401 * Send a single file.
417 if (argc == 0 || (argc == 1 && !another(&argc, &argv, "local-file")))
419 if ((argc < 3 && !another(&argc, &argv, "remote-file")) || argc > 3) {
421 UPRINTF("usage: %s local-file [remote-file]\n", argv[0]);
571 * Receive one file.
573 * If restartit is -1, restart the xfer only if the remote file is newer.
588 if (argc == 0 || (argc == 1 && !another(&argc, &argv, "remote-file")))
590 if ((argc < 3 && !another(&argc, &argv, "local-file")) || argc > 3) {
592 UPRINTF("usage: %s remote-file [local-file]\n", argv[0]);
749 * Read list of filenames from a local file and get those
766 fprintf(ttyout, "Can't open source file %s\n", argv[1]);
1077 * Toggle metacharacter interpretation on local file names.
1198 * Delete a single file.
1201 delete(int argc, char *argv[])
1205 (argc == 1 && !another(&argc, &argv, "remote-file"))) {
1206 UPRINTF("usage: %s remote-file\n", argv[0]);
1257 * Rename a remote file.
1332 UPRINTF("usage: %s [remote-path [local-file]]\n",
1353 !confirm("output to local-file:", locbuf)) {
1381 if (argc < 3 && !another(&argc, &argv, "local-file")) {
1383 UPRINTF("usage: %s remote-files local-file\n", argv[0]);
1391 !confirm("output to local-file:", dest)) {
1692 if ((argc < 3 && !another(&argc, &argv, "remote-file")) || argc > 3) {
1694 UPRINTF("usage: %s mode remote-file\n", argv[0]);
2472 fputs("macdef: end of file encountered.\n", ttyout);
2504 * Get size of file on remote machine
2512 (argc == 1 && !another(&argc, &argv, "remote-file"))) {
2513 UPRINTF("usage: %s remote-file\n", argv[0]);
2525 * Get last modification time of file on remote machine
2533 (argc == 1 && !another(&argc, &argv, "remote-file"))) {
2534 UPRINTF("usage: %s remote-file\n", argv[0]);
2553 UPRINTF("usage: %s [remote-file]\n", argv[0]);
2561 * Get file if modtime is more recent than current file
2569 "Local file \"%s\" is newer than remote file \"%s\".\n",
2574 * Display one local file through $PAGER.
2584 (argc == 1 && !another(&argc, &argv, "local-file"))) {
2585 UPRINTF("usage: %s local-file\n", argv[0]);
2608 * Display one remote file through $PAGER.
2620 (argc == 1 && !another(&argc, &argv, "remote-file"))) {
2621 UPRINTF("usage: %s remote-file\n", argv[0]);