You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#117497 How to copy existing Joomla files to S3 after using the S3 Object Storage Filesystem?

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Monday, 15 December 2025 18:36 GMT

5uwebsite

I have a website that was using the defailt joomla file system for media file uploading. As it is using too much space, so I need to use S3 for file storage.

However, after I successfully configured the plugin and switched to use the S3 Object Storage Filesystem, I realized that the JCE editor will only display the images on the S3 bucket, but my previously uploaded images are no longer visible, unless I switched back.

Is there a way to copy all the current files in the /image folder to the S3 bucket, with the same structure, so that I could just use it as before, and see all the previously uploaded files in the same file structure?

Thank you.

Ryan

It is not currently possible to do this from with the JCE File Browser, as only 1 filesystem (local Joomla or S3) can be used at a time.

To copy files from your local Joomla folder to an S3 bucket, you would need to use a client app that allows for FTP and S3 access, eg: Transmit on the Mac.

Cyberduck is a good Windows and Mac option - https://cyberduck.io/

Please be aware that the S3 Filesystem is a lot slower than the local Joomla filesystem, so you might want to consider only using S3 for some folders or editor profiles and not all.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

5uwebsite

Hi Ryan,

Thanks a lot for the detailed instructions. If I use the FTP software to move all the media files over, is there an easy way to configure in JCE Editor, so that the articles will use the resources on S3, rather than the web server's file system?

Regarding S3 is slow, did you mean the upload in JCE Editor is slow, or did you mean the website's frontend page loading is slow? Or both?

Thank you.

Ryan

Thanks a lot for the detailed instructions. If I use the FTP software to move all the media files over, is there an easy way to configure in JCE Editor, so that the articles will use the resources on S3, rather than the web server's file system?

After the content is saved, JCE does not have any control over how it is displayed in the front-end. Each article would habe to be edited to change the ulr from the local file to S3. You could use an htaccess rule to redicrect the request to S3 for existing images, eg:

RewriteEngine On

RewriteCond %{REQUEST_URI} ^/images/ [NC]
RewriteCond %{REQUEST_URI} \.(jpe?g|png|gif|webp|svg)$ [NC]

# If local file exists, do nothing
RewriteCond %{DOCUMENT_ROOT}/images/$1 -f
RewriteRule ^ - [L]

# Otherwise redirect to CDN/S3
RewriteRule ^images/(.+)$ https://cdn.example.com/images/$1 [R=302,L,NE]

Regarding S3 is slow, did you mean the upload in JCE Editor is slow, or did you mean the website's frontend page loading is slow? Or both?

Nothing to do with the front-end, only when accessing files on S3 using the JCE File Browser etc. With local files the process is:

You -> Server -> You

but with S3 it is:

You -> Server -> S3 -> Server -> You

Witih some processes, multiple requests are made between the server and S3 before the data is returned to you. There are some caching mechanisms in place to try and speed this up, but it will always be slower than just using the local server storage.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.