Frappe app to make file upload automatically upload and read from s3 and download from S3.
- Upload both public and private files to s3.
- Stream files from S3, when file is viewed everytime.
- Lets you add S3 credentials (aws key, aws secret, bucket name, folder name) through ui and migrate existing files.
- Deletes from s3 whenever a file is deleted in ui.
- Files are uploaded categorically in the format. {s3_folder_path}/{year}/{month}/{day}/{doctype}/{file_hash}
- Download files from S3 in your site's public and private folder.
- Update details in database after reverse migrating from S3
- bench get-app --branch v13 https://github.com/Improwised/Frappe-attachments-s3.git
- bench --site {site} install-app frappe_s3_attachment
- Open single doctype "s3 File Attachment"
- Enter (Bucket Name, AWS key, AWS secret, S3 bucket Region name, Folder Name) Folder Name- folder name is the default folder path in s3.
- Migrate existing files lets all the existing files in private and public folders to be migrated to s3.
- Delete From Cloud when selected deletes the file form s3 bucket whenever a file is deleted from ui. By default the Delete from cloud will be unchecked.
- There is Migrating to local button in "s3 File Attachment"
- It will migrate all files from s3 to local folder.
Updated path for private files - private/files/{fileName.Extension}
Updated path for public files - files/{fileName.Extension}
- This will remove Zerodha app from site
$ bench --site {site} uninstall-app frappe_s3_attachment
- Get App of Improwised. If, any overwritten permission needed, provide yes
$ bench get-app --branch v13 https://github.com/Improwised/frappe_s3_attachment.git
- This will install Improwised Frappe S3 attachment in site
$ bench --site {site} install-app frappe_s3_attachment
- After Migrating to local, to remove improwised frappe-s3-attachment do step 5.
- This will remove Improwised app from site
$bench --site {site} uninstall-app frappe_s3_attachment
MIT