Ali cloud oss upload files

method one

Use web interface to upload

Method Two

Use oss browser official client software to upload, support for desktop operating systems, enter the first time you open appid and secret landing, the default path for the oss oss://oef, regional election Shenzhen.
After landing can upload files.

Method Three

Use oss util official command-line tool to upload, you can cronachieve regularly upload, backup and other regular tasks.
First, download ossutil64the executable file (the name may be different in different systems), using the first method is to create a configuration file (modify the id and secret):

cat <<EOF >> ~/.ossutilconfig
[Credentials]
language=EN
endpoint=http://oss-cn-shenzhen-internal.aliyuncs.com
accessKeyID=aaa
accessKeySecret=aaa

Then ossutil64 cp local_file oss://oef/remote_dir/, there are commonly used commands ossutil64 ls oss://oef/, ossutil64 mkdir oss://oef/test_dir2and Linux ls, cpa similar command.

Guess you like

Origin www.cnblogs.com/zhaofeng-shu33/p/12001712.html