chmouel / upcs Goto Github PK
View Code? Open in Web Editor NEWUpload to OpenStack Swift with curl easily
Upload to OpenStack Swift with curl easily
Containers have this way to make "folders" where you just put 'yourfoldername/yourfilename.jpg' as the destination name.
./upcs -c container/testfolder file1.jpg <----- This works but then the url shortener does not work.
Seems like it would be nice to support adding folders somehow.
Here is my usage:
./upcs -u myuser -k mykey -c customer_images /tmp/transfer/customers//
For all files, I get "whatever.jpg does not seem to exist."
I am having issues with uk authentication
US sites work fine but UK, is giving error
You have a bad username or api/key.
John
And how does one use UPCS to transfer directories and files recursively without them getting tarred up?
Just a small (but breaking) issue.
Im trying to upload files to my container hosted in Chicago (ORD) but it always tries to upload them to https://storage101.dfw1.clouddrive.com/v1/ and not https://storage101.ord1.clouddrive.com/v1/
I notice ${StorageUrl} at https://github.com/chmouel/upcs/blob/master/upcs#L183 but I cant see where it is set.
In ~/.config/rackspace-cloud/config I have:
RCLOUD_API_USER=*******
RCLOUD_API_KEY=**********************************
AUTH_SERVER=https://auth.api.rackspacecloud.com/v1.0
It would be nice to have an option that lists all contains.
I've successfully used this script with ubuntu, but Arch Linux seems to be trickier. I get the following error when I run upcs:
File "", line 1
import os,sys;print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
At the moment is not supported to connect to a specific region (ORD, DFW, SYD etc..)
Hello Chmouel,
Would it be possible to use UPCS to push a stream from taz/gz | gpg for example ?
Thx;
F
When uploading each file for the CDN, how can the headers be set?
• Content-Encoding
• Content-Disposition
• X-Object-Manifest
• Access-Control-Allow-Origin
• Access-Control-Allow-Credentials
• Access-Control-Expose-Headers
• Access-Control-Max-Age
• Access-Control-Allow-Methods
• Access-Control-Allow-Headers
• Origin
• Access-Control-Request-Method
• Access-Control-Request-Headers
upcs uses curl to perform the upload, which supports limiting the speed of the upload (using the --limit-rate option). It would be good if upcs allowed the setting of this option (if requested) to control the upload rate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.