Title: Synchronize
Last modified: August 21, 2016

---

# Synchronize

 *  Resolved [Jamal Robert](https://wordpress.org/support/users/lacicrips/)
 * (@lacicrips)
 * [12 years ago](https://wordpress.org/support/topic/synchronize/)
 * Thanks for developing this.
 * Please can you just make it synchronize with options of deleting either local
   or cdn images instead of deleting the local images after upload to ther cdn?
 * [https://wordpress.org/plugins/rackspace-cloud-files-cdn/](https://wordpress.org/plugins/rackspace-cloud-files-cdn/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/synchronize/page/2/?output_format=md) 
[→](https://wordpress.org/support/topic/synchronize/page/2/?output_format=md)

 *  Plugin Author [paypromedia](https://wordpress.org/support/users/paypromedia/)
 * (@paypromedia)
 * [12 years ago](https://wordpress.org/support/topic/synchronize/#post-4875741)
 * I will add this option in the next update.
 *  [Jeremy Dawes](https://wordpress.org/support/users/jezweb/)
 * (@jezweb)
 * [12 years ago](https://wordpress.org/support/topic/synchronize/#post-4875782)
 * I’ll be a lot keener to try the plugin once i know it will leave the local files
   there as well as creating the remote ones.
 *  Plugin Author [paypromedia](https://wordpress.org/support/users/paypromedia/)
 * (@paypromedia)
 * [12 years ago](https://wordpress.org/support/topic/synchronize/#post-4875790)
 * I will add this as an option. The reason it’s not there right now is because 
   I figured people would want to save money by storing and serving from the CDN
   and not have to pay for both local and CDN storage.
 *  Plugin Author [paypromedia](https://wordpress.org/support/users/paypromedia/)
 * (@paypromedia)
 * [12 years ago](https://wordpress.org/support/topic/synchronize/#post-4875791)
 * You could also FTP into your site and backup your “uploads” folder before you
   do the upload if you’re afraid the plugin might delete files. I can tell you,
   though, that we have two sites with over 1,500 attachments on them (over 3,500
   files per site with attachments and thumbnails) that this worked great on. We
   just used it on another site with over 350 files and it worked great as well.
 *  [Jeremy Dawes](https://wordpress.org/support/users/jezweb/)
 * (@jezweb)
 * [12 years ago](https://wordpress.org/support/topic/synchronize/#post-4875794)
 * having the files locally and on the cdn is a really quick extra backup too and
   if anything did go wrong with the cdn it could be easily reverted.
 * if you thought that the plugin could have an option to sync the files with a 
   storage server like copy.com for backups that would be a pretty nifty addon though
   we are getting off the track of cdn usage of course there.
 *  [Jeremy Dawes](https://wordpress.org/support/users/jezweb/)
 * (@jezweb)
 * [12 years ago](https://wordpress.org/support/topic/synchronize/#post-4875795)
 * its true that people might want to save space though but a lot of hosting has
   large amounts of space cheaply anyway.
 *  Plugin Author [paypromedia](https://wordpress.org/support/users/paypromedia/)
 * (@paypromedia)
 * [12 years ago](https://wordpress.org/support/topic/synchronize/#post-4875802)
 * I understand. I will be implementing this in a future release and will update
   this thread when it is done.
 *  [Jeremy Dawes](https://wordpress.org/support/users/jezweb/)
 * (@jezweb)
 * [12 years ago](https://wordpress.org/support/topic/synchronize/#post-4875818)
 * splendid, thank you
 *  Plugin Author [paypromedia](https://wordpress.org/support/users/paypromedia/)
 * (@paypromedia)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/synchronize/#post-4875868)
 * I have committed v1.1.0 this morning which adds support for syncing the files.
   The old versions of the plugin would upload the file to the CDN and delete it
   from the local server. The “default” setting is now set to keep the local files
   and do a true sync to the CDN, keeping the files on both the local server and
   on the CDN. All files will still be served from the CDN.
 *  [LuxDelux](https://wordpress.org/support/users/luxdelux/)
 * (@luxdelux)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/synchronize/#post-4875869)
 * Every time I open the CDN options it tells me I need to sync the files…
 * I did this 3 times… my website is showing the files from the local wp-content
   folder… which means it’s not showing those that were previously uploaded just
   to CDN.
 * So something broke
 *  [LuxDelux](https://wordpress.org/support/users/luxdelux/)
 * (@luxdelux)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/synchronize/#post-4875870)
 * Ok I figured it out
 * `file_get_contents(): http:// wrapper is disabled in the server configuration
   by allow_url_fopen=0 in /blabla/wp-content/plugins/rackspace-cloud-files-cdn/
   lib/functions.php on line 316`
 * Previously it worked without fopen set to On. WP security practices advise on
   this being Off…
 * I suggest implementing curl (faster too) in case it’s available on the server,
   use fopen if not.
 * In other words, first try to use CURL, if that fails, use file_get_contents etc.
 *  Plugin Author [paypromedia](https://wordpress.org/support/users/paypromedia/)
 * (@paypromedia)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/synchronize/#post-4875871)
 * Alright, thanks for letting me know. I will take a look!
 *  Plugin Author [paypromedia](https://wordpress.org/support/users/paypromedia/)
 * (@paypromedia)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/synchronize/#post-4875872)
 * With the syncing issue in CDN options, it is telling you to sync the files because
   it now defaults to “sync” instead of “sync and delete”. Check the box next to“
   Remove local files” and this should go away. It’s wanting to sync your CDN files
   back to your local hard drive because I have the plugin set to sync both ways.
   That way if you ever want to switch back to hosting locally or switch to another
   CDN, you can sync all the files back to your local server and won’t lose anything.
 *  [Jeremy Dawes](https://wordpress.org/support/users/jezweb/)
 * (@jezweb)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/synchronize/#post-4875873)
 * so if you want a copy of the files to always exist on the local and the cdn then
   this message will always show up in the admin?
 *  Plugin Author [paypromedia](https://wordpress.org/support/users/paypromedia/)
 * (@paypromedia)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/synchronize/#post-4875874)
 * No, if you leave the “Remove Local Files” box UNchecked, it should go away. Try
   checking the box, saving the settings, UNchecking the box and then saving the
   settings again.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/synchronize/page/2/?output_format=md) 
[→](https://wordpress.org/support/topic/synchronize/page/2/?output_format=md)

The topic ‘Synchronize’ is closed to new replies.

 * ![](https://ps.w.org/rackspace-cloud-files-cdn/assets/icon-256x256.jpg?rev=1001447)
 * [Rackspace CDN](https://wordpress.org/plugins/rackspace-cloud-files-cdn/)
 * [Support Threads](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/)
 * [Active Topics](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/reviews/)

 * 17 replies
 * 4 participants
 * Last reply from: [paypromedia](https://wordpress.org/support/users/paypromedia/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/synchronize/page/2/#post-4875877)
 * Status: resolved