-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教一下如何通过命令行的方式上传文件或文件夹 #266
Comments
目前使用命令上传文件比较麻烦 |
以下是使用 使用说明使用此
示例命令curl --location --request POST 'http://192.168.0.192:7070/api/upload' \
--form 'currentChunkSize=1' \
--form 'totalSize=1' \
--form 'filename=1' \
--form 'relativePath=gui_1.2.3_aarch64.dmg' \
--header 'access-token: cd0950a31957dab4ac6f5ac9b097d351' \
--form 'username=username' \
--form 'currentDirectory=/public' \
--form 'file=@/Users/demo/Downloads/gui_1.2.3_aarch64.dmg' 注意事项
填写好所有必填参数后,可以通过终端执行该命令,将指定的文件上传到网盘。 |
有需要的话之后搞个命令行工具 |
非常感谢您的帮助 |
我觉得可以搞一个,因为有经常在服务器之间拷贝大文件,用云盘方便的多 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题
我有一个centos7的服务器,是最小化安装的版本,我如何通过命令上传文件或文件夹
The text was updated successfully, but these errors were encountered: