دو دستور FTP چه کار می کنه ؟
درود ، دو تا دستور در مورد FTP هست و در RFC هم پیدا کردم اما متوجه نشدم .
دستور acct و site
ACCOUNT (ACCT)
The argument field is a Telnet string identifying the user's
account. The command is not necessarily related to the USER
command, as some sites may require an account for login and
others only for specific access, such as storing files. In
the latter case the command may arrive at any time.
There are reply codes to differentiate these cases for the
automation: when account information is required for login,
the response to a successful PASSword command is reply code
332. On the other hand, if account information is NOT
required for login, the reply to a successful PASSword
command is 230; and if the account information is needed for
a command issued later in the dialogue, the server should
return a 332 or 532 reply depending on whether it stores
(pending receipt of the ACCounT command) or discards the
command, respectively.
SITE PARAMETERS (SITE)
This command is used by the server to provide services
specific to his system that are essential to file transfer
but not sufficiently universal to be included as commands in
the protocol. The nature of these services and the
specification of their syntax can be stated in a reply to
the HELP SITE command.
مرسی از راهنمایی هاتون
3 پاسخ
ACCT جهت ارسال "اطلاعات اکانت" به کار میاد ، به طور معمول پس از فرمان PASS ارسال می شود.
شکل کلی دستور:
ACCT account-info
که پشنهاد میکنم در مورد این دستورات در سایت زیر مطالعه کنید
http://www.nsftools.com/tips/RawFTP.htm
ACCT>account> حساب کاربری برای سیستم های دسترسی
SITE >params> سایت پارامتر های خاص ارائه شده توسط سرور
سایت متوجه شدم ولی acct نه
تو یه کتاب گفته acct یعنی اطلاعات حساب و آرگومانش هم زده ، حسابی که باید شارژ شود . منظورش متوجه نمی شم؟