TAILIEUCHUNG - UNIX System Administration A Beginner’s Guide PHẦN 9

Như bạn có thể thấy, sản lượng bao gồm tên của tập tin, kích thước của tập tin, và số lượng thời gian cần để chuyển các nội dung của tập tin. Ngoài ra, hiệu suất mạng tương đối đã được hiển thị. Để xác minh rằng tập tin đã được thực tế chuyển nhượng, thanh tra các hệ thống địa phương bằng cách sử dụng các lệnh ls-l vàng. | 540 UNIX System Administration A Beginner s Guide didymus. With FTP to transfer a file from the remote end to the local end you would use the get FTP command. Thus to transfer the file yellow from the bedrock server to the local system use the following command while in the FTP shell ftp get yellow The client session will show the following 227 Entering Passive Mode 216 155 202 100 128 206 150 ASCII data connection for yellow 1047 916 bytes . 226 ASCII Transfer complete. 938 bytes received in secs 03 Kbytes sec ftp As you can see the output includes the name of the file the size of the file and the amount of time it took to transfer the contents of the file. Also the relative network performance was shown. To verify that the file was actually transferred inspect the local system by using the ls -l yellow command. The bang character is supported on many UNIX FTP client programs which permits the execution of a local command in this case the ls -l command which lists files and or directories . Thus when this command is run within the FTP client shell and when no errors were generated during the file transfer the following should be displayed -rw-r--r-- 1 root root 916 Apr 25 02 03 yellow -Note The byte counts for the file yellow match the number of bytes transferred with the FTP program. ------------------1 Sending a File To send a local file to the remote host use the put FTP command. Thus to place a new file called onto the bedrock system use the following command ftp put Module 18 File Transfer Protocol 541 When the command is executed the following is displayed by the client program local remote 227 Entering Passive Mode 216 155 202 100 128 208 150 ASCII data connection for 1050 . 226 Transfer complete. 18396 bytes sent in secs 03 Kbytes sec ftp Again much of the same information is shown as in the previous transfer example. To verify the file was sent .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.