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 cron
achieve regularly upload, backup and other regular tasks.
First, download ossutil64
the 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_dir2
and Linux ls
, cp
a similar command.