linux上文件的上传和下载

现整理一篇linux上文件的上传和下载

第一种方式就是在windos上安装工具

  1. 如:
  2. 工具如何使用我就不赘述了,easy

第二种方式就是使用liux的命令(首先是文件上传)

  1. 上传文件(首先创建文件夹如test,如果文件夹已存在会提示 File exists) 
$ mkdir /data/logs/navinfo/prodfcv1/prodfcv1apps/dongfeng-driver-core/test

$ ll

-rw-rw-r-- 1 prodfcv1 prodfcv1    50914 Oct 25 12:05 dongfeng-driver-core.2019-10-25.log
drwxrwxr-x 2 prodfcv1 prodfcv1        6 Oct 25 12:09 test

  2. 进入到test文件夹(cd test)

  3. 使用rz 即弹出系统提示框

     

  4. 勾选文件即可上传成功

文件下载部分(需要把linux服务器上的文件下载到window本地):

  1. sz 文件名子 如: sz dongfeng-driver-core.2019-10-25.log

  2. 选择路径后即可下载到本地

  

 

原文地址:https://www.cnblogs.com/jiyanjiao-702521/p/11737375.html