command
module
Version:
v0.0.0-...-99488f3
Opens a new window with list of versions in this module.
Published: Jan 15, 2024
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
upload-gdrive
HTTP listener to receive file by POST and submit directly to Google Drive
Configuration
How to use
using cURL:
curl -i -X POST -H "Content-Type: multipart/form-data" -F "file=@myfile.doc;filename=myfile.doc" http://server/upload/
using Java:
try {
FileInputStream fstrm = new FileInputStream("myfile.doc");
HttpFileUpload hfu = new HttpFileUpload("http://server/upload/" + "myfile.doc", "myfile.doc", "myfile.doc");
hfu.Send_Now(fstrm);
} catch (Exception e) {
// error
}
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.