Home | History | Annotate | Download | only in ftpd

Lines Matching refs:reply

658 			reply(-530, "%s", line);
662 reply(530,
757 reply(530, "System not available.");
761 /* reply(220,) must follow */
763 reply(220, "%s FTP server ready.", hostname);
765 reply(220, "%s FTP server (%s) ready.", hostname, version);
795 reply(421,
881 reply(530, "Can't change user from guest login.");
884 reply(530, "Can't change user from chroot user.");
888 reply(530, "Can't change user.");
912 reply(530, "User %s unknown.", name);
914 reply(530, "User %s access denied.", name);
918 reply(331,
994 reply(530, "User %s may not use FTP.", curname);
1006 e = auth_pam(); /* this does reply(331, ...) */
1015 reply(331, "Password [ %s ] required for %s.",
1020 reply(331, "Password required for %s.", curname);
1359 reply(503, "Login with USER first.");
1417 reply(530, "%s", rval == 2 ? "Password expired." :
1441 reply(530, "User %s may not use FTP.", pw->pw_name);
1468 reply(530, "Permission denied.");
1473 reply(530, "Login not available right now.");
1517 reply(530,
1602 reply(530,
1608 reply(-230,
1644 * N.B. reply(230,) must follow the message.
1652 reply(230, "Guest login ok, access restrictions apply.");
1663 /* store guest password reply into pw_passwd */
1669 reply(230, "User %s logged in.", pw->pw_name);
1757 reply(550, "%s: %s.", dispname, error);
1804 reply(-226,
1817 reply(-226, "Command error messages:");
1822 reply(0, " %s", line);
1826 /* a reply(226,) must follow */
1828 reply(226, "Transfer complete.");
1903 reply(226, "Transfer complete (unique file name:%s).",
1906 reply(226, "Transfer complete.");
2021 reply(425, "Can't open data connection.");
2045 reply(150, "Opening %s mode data connection for '%s'%s.",
2050 reply(125, "Using existing data connection for '%s'%s.",
2069 reply(425, "Can't create data socket (%s,%s): %s.",
2093 reply(150, "Opening %s mode data connection for '%s'%s.",
2349 reply(550, "Unimplemented TYPE %d in send_data", type);
2484 reply(553, "TYPE E not implemented.");
2532 reply(-226,
2535 reply(0, "File may not have transferred correctly.");
2541 reply(550, "Unimplemented TYPE %d in receive_data", type);
2581 reply(-211, "%s FTP server status:", hostname);
2582 reply(0, "Version: %s", EMPTYSTR(version) ? "<suppressed>" : version);
2587 reply(0, "Connected to %s (%s)", remotehost, hbuf);
2589 reply(0, "Connected to %s", remotehost);
2593 reply(0, "Logged in anonymously");
2595 reply(0, "Logged in as %s%s", pw->pw_name,
2598 reply(0, "Waiting for password");
2600 reply(0, "Waiting for user name");
2616 reply(0, "Data connection open");
2619 reply(0, "in Passive mode");
2630 reply(0, "EPSV only mode (EPSV ALL)");
2639 reply(0, "%s (%d,%d,%d,%d,%d,%d)",
2695 reply(0, "%s (|%d|%s|%s|)",
2700 reply(0, "No data connection");
2703 reply(0,
2707 reply(0,
2711 reply(0,
2719 reply(0, "Traffic sent: " LLF " byte%s in " LLF " transfer%s",
2722 reply(0, "Traffic received: " LLF " byte%s in " LLF " transfer%s",
2725 reply(0, "Total traffic: " LLF " byte%s in " LLF " transfer%s",
2732 reply(0, "%s", "");
2733 reply(0, "Class: %s, type: %s",
2735 reply(0, "Check PORT/LPRT commands: %sabled",
2738 reply(0, "Display file: %s", curclass.display);
2740 reply(0, "Notify fileglob: %s", curclass.notify);
2741 reply(0, "Idle timeout: " LLF ", maximum timeout: " LLF,
2743 reply(0, "Current connections: %d", connections);
2745 reply(0, "Maximum connections: unlimited");
2747 reply(0, "Maximum connections: " LLF,
2750 reply(0, "Connection limit exceeded message file: %s",
2753 reply(0, "Chroot format: %s", curclass.chroot);
2754 reply(0, "Deny bad ftpusers(5) quickly: %sabled",
2757 reply(0, "Homedir format: %s", curclass.homedir);
2759 reply(0, "Maximum file size: unlimited");
2761 reply(0, "Maximum file size: " LLF,
2764 reply(0, "MotD file: %s", conffilename(curclass.motd));
2765 reply(0,
2768 reply(0, "Upload commands (APPE, STOR, STOU): %sabled",
2770 reply(0, "Sanitize file names: %sabled",
2772 reply(0, "PASV/LPSV/EPSV connections: %sabled",
2782 reply(0, "PASV advertise address: %s", bp);
2785 reply(0, "PASV port range: " LLF " - " LLF,
2788 reply(0, "Rate get limit: " LLF " bytes/sec",
2791 reply(0, "Rate get limit: disabled");
2793 reply(0, "Rate put limit: " LLF " bytes/sec",
2796 reply(0, "Rate put limit: disabled");
2798 reply(0, "Mmap size: " LLF, (LLT)curclass.mmapsize);
2800 reply(0, "Mmap size: disabled");
2802 reply(0, "Read size: " LLF, (LLT)curclass.readsize);
2804 reply(0, "Read size: default");
2806 reply(0, "Write size: " LLF, (LLT)curclass.writesize);
2808 reply(0, "Write size: default");
2810 reply(0, "Receive buffer size: " LLF,
2813 reply(0, "Receive buffer size: default");
2815 reply(0, "Send buffer size: " LLF,
2818 reply(0, "Send buffer size: default");
2820 reply(0, "Send low water mark: " LLF,
2823 reply(0, "Send low water mark: default");
2824 reply(0, "Umask: %.04o", curclass.umask);
2829 reply(0, "Conversion: %s [%s] disable: %s, command: %s",
2834 reply(211, "End of status");
2841 reply(451, "Error in server: %s\n", s);
2842 reply(221, "Closing connection due to server error.");
2848 * reply() --
2856 reply(int n, const char *fmt, ...)
2940 reply(426, "Transfer aborted. Data connection closed.");
2941 reply(226, "Abort successful");
2954 reply(213,
2959 reply(213, "Status: " LLF " byte%s transferred",
2983 reply(221, "You could at least say goodbye.");
3086 reply(227, "Entering Passive Mode (%d,%d,%d,%d,%d,%d)", UC(a[0]),
3176 reply(503, "Login with USER first.");
3185 reply(501, "Network protocol mismatch"); /*XXX*/
3222 reply(228,
3230 reply(228,
3248 reply(229, "Entering Extended Passive Mode (|||%d|)",
3330 reply(500, "Invalid argument, rejected.");
3359 reply(501, "%s", message); /* XXX */
3361 reply(522, "%s, use (%d)", message, proto);
3367 * Generates failure reply on error.
3394 reply(452, "Unique file name cannot be created.");
3399 * Format and send reply containing system error number.
3407 reply(code, "%s: %s.", string, strerror(errno));
3444 reply(450, "Not found");
3551 reply(450, "No files found.");
3555 reply(226, "Transfer complete.");
3808 * Only send a single 331 reply and
3835 /* Send reply, wait for a response. */
3836 reply(331, "User %s accepted, provide %s.",
3842 reply(221, "You could at least say goodbye.");
3845 /* XXX: should we do this reply(-530, ..) ? */
3846 reply(-530, "Command too long.");
3852 "auth_conv: unexpected reply '%.4s'", pbuf);
3853 /* XXX: should we do this reply(-530, ..) ? */
3854 reply(-530, "Unexpected reply '%.4s'.", pbuf);
3857 /* Strip CRLF from "PASS" reply */
3862 /* Copy password into reply */