Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
s200612321
V2EX  ›  Linux

服务器中大文件上传问题

  •  
  •   s200612321 · Dec 9, 2013 · 5336 views
    This topic created in 4716 days ago, the information mentioned may be changed or developed.
    准备购一台 阿里云 的 vps 用来放图片,将图片压缩后文件将近 1.5G ,共有4,5个这样的压缩文件。
    在本地将文件传过去,比较担心网络不稳定会出现问题,大家有没有好的工具推荐,或者有好的办法。
    本地和服务器都是 Linux 系统。
    13 replies  •  1970-01-01 08:00:00 +08:00
    jarlyyn
    jarlyyn
    Dec 9, 2013
    1
    一直都是scp……
    wuxqing
    wuxqing
    Dec 9, 2013
    2
    vps开个ftp,客户用ftp传,可以断点续传
    kennedy32
    kennedy32
    Dec 9, 2013
    3
    如果是做图片服务器,不推荐阿里云,带宽是固定的,还是七牛(http://portal.qiniu.com/signup?code=3lmzbyxh8gmkx),又拍云之类比较好,或者干脆阿里云自家的oss

    大文件的话要么断点续传,要么联系客服看能不能硬盘对拷
    hadoop
    hadoop
    Dec 9, 2013
    4
    阿里云的vps下行是不限带宽的,至少不会比你本地上传带宽小吧
    hadoop
    hadoop
    Dec 9, 2013
    5
    rsync很不错,当然文件少直接scp吧,记得加上 -c arcfour参数
    lijinma
    lijinma
    Dec 9, 2013
    6
    推荐rsync吧
    clino
    clino
    Dec 9, 2013
    7
    rsync -P
    可以支持断点续传
    hello570111
    hello570111
    Dec 9, 2013
    8
    可以把大文件分为多个小文件,split命令,然后用rsync或者scp传,最后cat合并。

    当然1.5G其实也不算太大,不分割也行。我所说的方法,是有次需要用VPN小水管,传一个160G的文件的时候用的。。
    lidonghao
    lidonghao
    Dec 9, 2013
    9
    @hello570111 不明觉厉。。
    msg7086
    msg7086
    Dec 9, 2013
    10
    1.5G小文件

    一般ftp直接传,出错的概率极小。

    实在不放心的话可以rar打包带上rr。
    xiaogui
    xiaogui
    Dec 9, 2013
    11
    ftp 很快的 嘿嘿
    asing
    asing
    Dec 9, 2013
    12
    rsync怎么支持ssh传输呢?
    wolegequ
    wolegequ
    Dec 29, 2013 via Android
    13
    VPS做文件服务器需要备案吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1829 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 09:24 · PVG 17:24 · LAX 01:24 · JFK 04:24
    ♥ Do have faith in what you're doing.