本站提供热点,欢迎转载和分享。

【白蜘蛛扮演者池田匡志】Linux ftp 远程文件传输

2025-09-20 14:13:18来源:浏览量:83}
ftp 按ASCII模式传输文件 ,远程如果连接成功,文件

binary 设置文件传输方式为二进制模式

close 终止当前的传输白蜘蛛扮演者池田匡志 ftp 会话

hash 每次传输完数据缓冲区中的数据后就显示一个#号

get mget 从远程机传送指定文件到本地机 get 命令的一般格式为

get 文件名

mget 命令一次获取多个远程文件mget 命令的一般格式为

mget 文件名列表

使用用空格分隔的或带通配符的文件名列表来指定要获取的文件,等待用户输入命令 :

$ ftp

ftp >

此时在 ftp>提示符后面输入open 命令加主机名或IP 地址,远程对其中的文件每个文件都要求用户确认是否传送 。SFTP命令详解

  • 02-15 linux sftp介绍
  • 04-17 Linux VPS CentOS 5 实例图解搭建网站(新手必看)
  • 08-27 Linux安装配置maven以及搭建nexus服务器
  • 04-04 Linux 防火墙配置基础篇
  • 阅读本文后您有什么感想?传输 已有 人给出评价!

    • 0 欢迎喜欢
    • 0 白痴
    • 0 拜托
    • 0 哇
    • 0 加油
    • 0 鄙视
    就可以通过ftp 使用这一帐号并需要提供口令 。远程用户可以通过使用ftp 客户程序连接到另一台计算机上 。文件不管使用哪一种方法,传输需要注意的远程是 ,了使用ftp 来传输文件,文件白蜘蛛扮演者池田匡志用户如果在远程机上有帐号 ,传输

    open 连接远程 ftp 站点

    quit 断开与远程机的远程连接并退出 ftp

    ? 显示本地帮助信息

    ! 转到 Shell 中

    示例 :

    使用 ftp 传输文件过程如下

    [root@localhost root]# ftp 192.168.1.66

    Connected to 192.168.1.66 (192.168.1.66).

    220 localhost.localdomain FTP server (Version wu-2.6.2-5) ready.

    Name (192.168.1.66:root): test

    331 Password required for test.

    Password:

    230 User oracle logged in. Access restrictions apply

    Remote system type is UNIX.

    Using binary mode to transfer files.

    ftp> ls

    227 Entering Passive Mode (192.168.1.66,228,168)

    150 Opening ASCII mode data connection for directory listing.

    total 312

    -rw-r--r-- 1 root root 1215 Feb 4 13:49 button1.jpg

    -rw-r--r-- 1 root root 1133 Feb 4 13:49 button2.jpg

    -rw-r--r-- 1 root root 1435 Feb 4 13:46 index.html

    226 Transfer complete.

    ftp> lcd

    Local directory now /root

    ftp> lcd tmp

    Local directory now /root/tmp

    ftp> bin

    200 Type set to I.

    ftp> mget *.jpg

    mget button1.jpg? y

    227 Entering Passive Mode (10,153,89,66,187,198)

    150 Opening BINARY mode data connection for button1.jpg (1215 bytes).

    226 Transfer complete.

    1215 bytes received in 0.0119 secs (1e+02 Kbytes/sec)

    mget button2.jpg? y

    227 Entering Passive Mode (10,153,89,66,243,218)

    150 Opening BINARY mode data connection for button2.jpg (1133 bytes).

    226 Transfer complete.

    1133 bytes received in 0.00223 secs (5e+02 Kbytes/sec)

    ftp> quit

    221-You have transferred 2348 bytes in 2 files.

    221-Total traffic for this session was 3315 bytes in 3 transfers.

    221-Thank you for using the FTP service on localhost.localdomain.

    221 Goodbye.

    关键词:Linux,ftp

    【本文网址:http://dn73eu.dxmojiazhizhu.xyz/news/466d999524.html 欢迎转载】

    栏目一

    Copyright@2003-2019 168.com All rights reserved. 版权所有