Comparison of Hengyuan Cloud OSS uploading files to the server (OSS/FileZilla/Xftp)

If you upload a large file, you definitely need to compress it and use OSS, because it is faster and Xftp is a bit slow.

1. Installation

Installation of OSS: OSS - Hengyuan Cloud User Documentation

Download address: https://gpucloud-static-public-prod.gpushare.com/installation/oss/oss_windows_x86_64.exe

Rename the file to:

oss.exe

2. OSS command to upload data

The OSS command tool can upload local data or data in the instance to personal data. For example, the OSS command tool can upload local data or data in any directory in the instance to personal data for storage.

For OSS command installation, please refer to: OSS command installation

1) Log in 

Open the downloaded file and enter to log in (you don’t need to enter your account and password next time, just enter the command directly): 

login

~# oss login
Username:139********
Password:***********
139******** login successfully!

2) Upload data to oss

cp D:\Pycharm_workspace\SBDD\FLAG.zip  oss://

3) View the personal data I uploaded.zip [optional]

ls -s -d oss://

or

 

4) Move from oss to hy-tmp

Open the terminal of Hengyuan Cloud and enter:

oss login

After logging in 

oss cp oss://FLAG.zip /hy-tmp

For information on how to use OSS command tools to download data, please refer to: Downloading personal data through OSS commands

For video demonstration, please refer to: https://www.bilibili.com/video/BV1Er4y1B7bi/

Hengyuan Cloud OSS data upload pitfalls - Zhihu

Guess you like

Origin blog.csdn.net/weixin_43135178/article/details/132898191