Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: flickernever on October 28, 2009, 04:31:02 PM

Title: Moving all the attachments to another server and make it work
Post by: flickernever on October 28, 2009, 04:31:02 PM
I have a large database of MP3 files in the attachment folder, now I need to put all this in another server. So, in the posts, the attachment link, instead of pointing to the file in my server would point to the same file but in another server.

How would I do this?

Thanks a lot for any time spent thinking about this!
Title: Re: Moving all the attachments to another server and make it work
Post by: LOVELORD on October 28, 2009, 04:51:23 PM
Download all attachment direcotry to you, and after it upload.. Best is trouth ftp.

Also you can  ask your host providers to make full back up and transfer it to another host and there to restore all file.  ;)
Title: Re: Moving all the attachments to another server and make it work
Post by: flickernever on October 29, 2009, 06:36:52 AM
The thing is that how could I let know SMF to point to the new attachments folder.

And would the files work? They actually have an encrypted name, something like, file_01_hy328746387427fhs87y3fsh93i8y67289.
Title: Re: Moving all the attachments to another server and make it work
Post by: H on November 16, 2009, 05:04:04 PM
There is no easy way to achieve this without modding SMF. Just having attachments on another server without also having SMF on it would mean that attachments are not checked to ensure that only the relevant users have access to them.

I'm confused as to why you want to do this?