Comments (3)
Hmm that's odd. Just confirming, you are talking about the destinationPath
for the upload having spaces or special characters in it.
It may just be that Amazon S3 does not support those characters in their file paths. If that is the case, the only thing I can do about it is to add a note on it to the documentation. I'll look into this and see if this is an Amazon thing or a problem with the library.
Thanks!
from amazons3requestmanager.
What special characters are you using specifically? Some special characters are supported, but not all it seems.
Object names:
The following character sets are generally safe for use in key names:
- Alphanumeric characters [0-9a-zA-Z]
- Special characters !, -, _, ., *, ', (, and )
Bucket names:
Bucket names must be a series of one or more labels. Adjacent labels are separated by a single period (.). Bucket names can contain lowercase letters, numbers, and hyphens. Each label must start and end with a lowercase letter or a number.
http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
from amazons3requestmanager.
Foreign language characters e.g. šđčćž. I was able to make a workaround by using id instead of a filename in the destination path. However, I still dont understand why the problem happens. In the guidelines you posted it says using any UTF-8 character should be ok, which I believe is true because if I do the uploading to s3 on the server side (using paperclip) it works. Paperclip substitutes spaces with underscore tho, but foreign language characters get percent encoded.
Were you able to reproduce the issue?
from amazons3requestmanager.
Related Issues (20)
- errorWithCode(_:failureReason:) is deprecated in Alamofire
- Add operation to find bucket location
- Xcode 8 GM - Swift 2.3 fails to compile HOT 3
- please lower spec dependency to ios 8 HOT 9
- Remove CommonCrypto
- Add support for Pre-Signed URLs
- Break out Alamofire dependency into subspec
- Update `download` example in Readme HOT 4
- Issue for Alamofire 4.0.1 HOT 9
- S3BucketObjectList when using a delimiter doesn't extract the files correctly. HOT 2
- how to track the progress of uploading image or data or file to AS3RM HOT 1
- Example how get image from AWS and convert to UIImage? HOT 1
- Swift 2.3 release HOT 7
- Do amazonS3Manager.upload() function replace '+' character to white space character? HOT 2
- Chunk Upload & Download
- Add support multipart upload HOT 5
- Swift 4 support. HOT 2
- Xcode 9.0 beta compile error HOT 3
- Does not show any error on passing the wrong credentials HOT 1
- Can't compile several code snippets from Readme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazons3requestmanager.