Original filename
Opened this issue · 0 comments
steverob commented
Hi, how do I retain the original file name? Although the docs say
targetFilename - An optional attribute for the target filename. if provided the file will be renamed to the provided value instead of having the file original filename.
it uses a random string for the file name as per https://github.com/asafdav/ng-s3upload/blob/master/src/ng-s3upload/directives/s3-upload.js#L73
Is this expected? I just want to retain the original filename in the S3 key. Thanks! :)