Lines Matching refs:reply

59 int	reply(char*, ...);
239 reply("220 Plan 9 FTP server ready"); in main()
318 reply("502 %s command not implemented", cmd); in main()
331 reply(char *fmt, ...) in reply() function
352 return reply("530 Sod off, service requires login"); in sodoff()
374 return reply("450 Out of processes: %r"); in asproc()
395 reply("150 Opening data connection for %s (%s)", cmd, data); in transfer()
398 return reply("425 Error opening data connection: %r"); in transfer()
401 return reply("520 Internal Error: %r"); in transfer()
406 return reply("450 Out of processes: %r"); in transfer()
477 reply("226 Transfer complete"); in transfer()
489 reply("510 Plan 9 FTP daemon still alive"); in nopcmd()
502 return reply("530 Not logged in: login out of service"); in loginuser()
512 reply("230- If you have problems, send mail to 'postmaster'."); in loginuser()
513 return reply("230 Logged in"); in loginuser()
541 return reply("530 Already logged in as %s", user); in usercmd()
543 return reply("530 user command needs user name"); in usercmd()
559 return reply("530 go away, script kiddie"); in usercmd()
562 return reply("530 Not logged in: anonymous disallowed"); in usercmd()
567 return reply("530 Not logged in: anonymous disallowed"); in usercmd()
568 return reply("331 Send email address as password"); in usercmd()
571 return reply("530 Not logged in: anonymous access only"); in usercmd()
575 return reply("331 OK"); in usercmd()
581 return reply("421 %r"); in usercmd()
582 return reply("331 encrypt challenge, %s, as a password", ch->chal); in usercmd()
607 return reply("530 Not logged in"); in passcmd()
614 return reply("531 Send user id before encrypted challenge"); in passcmd()
620 return reply("530 Not logged in: %r"); in passcmd()
643 return reply("550 Pwd takes no argument"); in pwdcmd()
644 return reply("257 \"%s\" is the current directory", curdir); in pwdcmd()
670 return reply("550 Permission denied"); in cwdcmd()
673 return reply("550 Cwd failed: %r"); in cwdcmd()
675 return reply("250 directory changed to %s", curdir); in cwdcmd()
692 reply("200 Bye"); in quitcmd()
706 return reply("501 Type command needs arguments"); in typecmd()
724 return reply("501 Unimplemented type %s", x); in typecmd()
727 return reply("200 Type %s", type==Tascii ? "Ascii" : "Image"); in typecmd()
734 return reply("501 Mode command needs arguments"); in modecmd()
741 return reply("501 Unimplemented mode %c", *arg); in modecmd()
745 return reply("200 Stream mode"); in modecmd()
752 return reply("501 Struct command needs arguments"); in structcmd()
759 return reply("501 Unimplemented structure %c", *arg); in structcmd()
762 return reply("200 File structure"); in structcmd()
772 return reply("501 Port command needs arguments"); in portcmd()
775 return reply("501 Incorrect port specification"); in portcmd()
778 return reply("200 Data port is %s", data); in portcmd()
790 return reply("500 can't bind #/ to /: %r"); in mountnet()
795 rv = reply("500 can't bind %s to /net: %r", nci->spec); in mountnet()
829 return reply("500 No free ports"); in pasvcmd()
845 return reply("227 Entering Passive Mode (%d,%d,%d,%d,%d,%d)", in pasvcmd()
1061 reply("425 Error opening data connection:%r"); in list()
1064 reply("150 Opened data connection (%s)", data); in list()
1113 reply("226 Transfer complete (list %s)", arg); in list()
1156 return reply("501 bad site command"); in sitecmd()
1159 return reply("501 bad site command"); in sitecmd()
1161 return reply("550 Permission denied"); in sitecmd()
1164 return reply("501 site chmod: file does not exist"); in sitecmd()
1170 return reply("550 Permission denied %r"); in sitecmd()
1171 return reply("200 very well, then"); in sitecmd()
1184 return reply("501 Size command requires pathname"); in sizecmd()
1188 return reply("501 %r accessing %s", arg); in sizecmd()
1189 rv = reply("213 %lld", d->length); in sizecmd()
1205 return reply("501 Mdtm command requires pathname"); in mdtmcmd()
1207 return reply("550 Permission denied"); in mdtmcmd()
1210 return reply("501 %r accessing %s", arg); in mdtmcmd()
1212 rv = reply("213 %4.4d%2.2d%2.2d%2.2d%2.2d%2.2d", in mdtmcmd()
1227 return reply("501 Restart command requires offset"); in restartcmd()
1231 return reply("501 Bad offset"); in restartcmd()
1234 return reply("350 Restarting at %lld. Send STORE or RETRIEVE", offset); in restartcmd()
1264 reply("550 This file requires type binary/image"); in retrievedir()
1317 reply("550 Error opening %s: %r", arg); in retrieve()
1322 reply("550 %s: seek to %lld failed", arg, offset); in retrieve()
1329 reply("550 %s: not a plain file.", arg); in retrieve()
1340 reply("550 Error reading %s: %r", arg); in retrieve()
1349 reply("550 This file requires type binary/image"); in retrieve()
1353 reply("150 Opening data connection for %s (%s)", arg, data); in retrieve()
1356 reply("425 Error opening data connection:%r"); in retrieve()
1375 reply("550 Error writing to data connection: %r"); in retrieve()
1386 reply("226 Transfer complete"); in retrieve()
1393 return reply("501 Retrieve command requires an argument"); in retrievecmd()
1396 return reply("550 Permission denied"); in retrievecmd()
1425 reply("150 Opening data connection for %s (%s)", arg, data); in store()
1428 reply("425 Error opening data connection:%r"); in store()
1445 reply("550 Error writing file"); in store()
1452 reply("226 Transfer complete"); in store()
1460 return reply("501 Store command requires an argument"); in storecmd()
1463 return reply("550 Permission denied"); in storecmd()
1465 return reply("550 Permission denied"); in storecmd()
1469 return reply("550 Error opening %s: %r", arg); in storecmd()
1471 return reply("550 Error seeking %s to %d: %r", in storecmd()
1476 return reply("550 Error creating %s: %r", arg); in storecmd()
1489 return reply("501 Append command requires an argument"); in appendcmd()
1491 return reply("550 Permission denied"); in appendcmd()
1494 return reply("550 Error creating %s: Permission denied", arg); in appendcmd()
1499 return reply("550 Error creating %s: %r", arg); in appendcmd()
1515 return reply("550 Permission denied"); in storeucmd()
1520 return reply("550 Error creating %s: %r", name); in storeucmd()
1533 return reply("501 Mkdir command requires an argument"); in mkdircmd()
1535 return reply("550 Permission denied"); in mkdircmd()
1538 return reply("550 Permission denied"); in mkdircmd()
1541 return reply("550 Can't create %s: %r", name); in mkdircmd()
1543 return reply("226 %s created", name); in mkdircmd()
1550 return reply("501 Rmdir/delete command requires an argument"); in delcmd()
1552 return reply("550 Permission denied"); in delcmd()
1555 return reply("550 Permission denied"); in delcmd()
1557 return reply("550 Can't remove %s: %r", name); in delcmd()
1559 return reply("226 %s removed", name); in delcmd()
1573 reply("426 Command aborted"); in abortcmd()
1577 return reply("226 Abort processed"); in abortcmd()
1584 return reply("215 UNIX Type: L8 Version: Plan 9"); in systemcmd()
1595 reply("214- the following commands are implemented:"); in helpcmd()
1600 reply("214-%s", buf); in helpcmd()
1606 reply("214-%s", buf); in helpcmd()
1607 reply("214 "); in helpcmd()
1620 return reply("550 Permission denied"); in rnfrcmd()
1622 return reply("501 Rename command requires an argument"); in rnfrcmd()
1625 return reply("550 Permission denied"); in rnfrcmd()
1632 return reply("350 Rename %s to ...", s_to_c(filepath)); in rnfrcmd()
1642 return reply("550 Permission denied"); in rntocmd()
1644 return reply("501 Rename command requires an argument"); in rntocmd()
1647 return reply("550 Permission denied"); in rntocmd()
1649 return reply("503 Rnto must be preceeded by an rnfr"); in rntocmd()
1655 return reply("550 Rename can't change directory"); in rntocmd()
1662 r = reply("550 Can't rename %s to %s: %r\n", s_to_c(filepath), to); in rntocmd()
1664 r = reply("250 %s now %s", s_to_c(filepath), to); in rntocmd()