که در مرحله بعد نام کاربری و رمز را پرسیده که وارد می کنیم . نتیجه
این کار را ما در DOS Prompt انجام دادیم که
در شکل زیر می بینید .
|
Command |
Information |
|
! |
Using
this command you will have the capability of toggling
back and forth between the operating system and ftp.
Once back in the Operating System generally typing exit
will take you back to the FTP command line. |
|
? |
Access
the Help screen. |
|
abor |
Abort
Transfer |
|
append |
Append
text to a local file. |
|
ascii |
Switch
to ASCII transfer mode |
|
bell |
Turns
bell mode on / off. |
|
binary |
Switches to binary transfer mode. |
|
bye |
Exits
from FTP. |
|
cd |
Changes directory. |
|
cdup |
Change
to parent directory on remote system |
|
close |
Exits
from FTP. |
|
cwd |
Change
working directory on remote system |
|
dele |
Delete
file on remote system |
|
delete |
Deletes a file. |
|
debug |
Sets
debugging on / off. |
|
dir |
Lists
files if connected.
dir -C = Will list the files in wide format.
dir -1 = Lists the files in bare format in alphabetic
order
dir -r = Lists directory in reverse alphabetic order.
dir -R = Lists all files in current directory and sub
directories.
dir -S = Lists files in bare format in alphabetic order. |
|
disconnect |
Exits
from FTP. |
|
get |
Get
file from the computer connected to. |
|
glob |
Sets
globbing on / off. |
|
hash |
Sets
hash mark printing on / off |
|
help |
Access
the Help screen and displays information about command
if command typed after help. |
|
lcd |
Displays local directory or if path typed after lcd will
change local directory. |
|
list |
Send a
list of file names in the current directory on the
remote system on the data connection. |
|
literal |
Sends
command line |
|
ls |
Lists
files if connected. |
|
mdelete |
Multiple delete |
|
mdir |
Lists
contents of multiple remote directories |
|
mget |
Get
multiple files |
|
mkd |
Make
directory. |
|
mkdir |
Make
directory. |
|
mls |
Lists
contents of multiple remote directories. |
|
mode |
Specifies the transfer mode. Available parameters are
generally S, B or C. |
|
mput |
Sent
multiple files |
|
nlst |
Send a
full directory listing of the current directory on the
remote system on the data connection. |
|
open |
Opens
address. |
|
pass |
Supplies a user password. |
|
port |
Specify the client port number. |
|
prompt |
Enables/disables prompt. |
|
put |
Send
one file |
|
pwd |
Print
working directory |
|
quit |
Exits
from FTP. |
|
quote |
Send
arbitrary ftp command |
|
recv |
Receive file |
|
retr |
Get
file from remote system. |
|
remotehelp |
Get
help from remote server |
|
rename |
Renames a file |
|
rmdir |
Removes a directory |
|
send |
Send
single file |
|
status |
Shows
status of currently enabled / disabled options |
|
trace |
Toggles packet tracing |
|
type |
Set
file transfer type |
|
user |
Send
new user information |
|
verbose |
Sets
verbose on / off. |
برای
ارسال و دریافت فایل از چه فرمانی باید استفاده کرد ؟
برای دریافت : get myfile.html
برای ارسال : send myfile.html
توجه نمایید که ارسال و دریافت فایل در مسیری که شما به
ftp متصل شدید انجام می گیرد
من می توانم در
ftp تعیین کنم که فایلها به کدام شاخه کامپیوتر من ارسال
شود ؟
بلی - مثلا در ویندوز ، شما اگرمی خوهید انتقال بین
ftp و شاخه ویندوز انجام بگیرد از فرمان
LCD بشکل زیر استفاده می کنید :
LCD c:\windows
من
می توانم چند فایل را با هم دانلود کنم ؟
بلی - شما باید از کاراکترهای
wildcard ( در داس کاراکترهای
* , ؟ ) و فرمان
mget ( مخفف Multiple get files
) استفاده کنید . بعنوان مثال می خواهید کلیه فایلهای موجود در
شاخه جاری ftp خود را دانلود کنید از
فرمان زیر استفاده می کنید :
mget *.*
هنگام
اتصال به ftp خطای شماره 10061 برخورد
می کنید ؟
این خطا به معنی رد کردن اتصال شما به ftp
می باشد .
برای رفع اشکال به یک سرور ftp دیگر
متصل شوید . اگر اتصال شما با موفقیت انجام شد بدین معنی است که
دسترسی ندارید و یا اینکه آدرس ftp را
اشتباه وارد کردید .
اگر به هیچ ftp یی نمی توانید متصل شوید
، به تنظیمات شبکه شما مربوط است :
تنظیمات شبکه خود را بررسی نمایید که آیا شما دسترسی اتصال به
ftp را دارید یا خیر و پورت
ftp آیا بسته است یا خیر ؟
امکان دارد در سیستم شما firewall نصب
شده که از اتصال به ftp جلوگیری می
نماید .
