Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Moving users uploaded files from 7.x to 8.x
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Moving users uploaded files from 7.x to 8.x

 Post Reply Post Reply
Author
scottrogers View Drop Down
Newbie
Newbie


Joined: 26 October 2006
Location: Australia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote scottrogers Quote  Post ReplyReply Direct Link To This Post Topic: Moving users uploaded files from 7.x to 8.x
    Posted: 20 July 2007 at 6:53am
Background:
 
We are in the process of upgrading our forum from version 7.9 to 8.06. So we can switch across smoothly we have created the new 8.06 forum in a different  location (both site and directory) on our IIS web server.
 
 
The directory structure is similar to below:
 
- wwwroot
     - oldforum  (version 7.9)
         - ...
         - uploads
               - user1
                     - olduploadedfile1.zip
               - user2
                     - olduploadedfile2.zip
 
     - newforum  (version 8.06)
          - ...
          - uploads
              - newuploadedfile1.zip
              - newuploadedfile2.zip
 
Problem:
The links to the old uploaded files are absolute paths that are in the Message field of the database table  tblThreads. These links point back to the original location of the old uploaded files. For example, http://ourforum.company.com/oldforum/uploads/user1/olduploadedfile1.zip
 
After updating the database to work with 8.06 everything works fine, except we need to leave the old uploaded files in their original location because the links in 7.9 did not use relative paths.
 
This means that we can not remove our old forum\uploads  from the webserver until we find a way to relocate them into the new forum.
 
Question:
 
Could you please advise us on the best way to relocate previously uploaded files from the old 7.9 forum into the new 8.06 forum?
 
Note: It is important that we have very little downtime and that we do not lose any files or data from our users.
 
 
 
 
 
 
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 July 2007 at 7:57am
You wouldn't move them you leave them were they are.

If you are concerned about other users viewing other users upload ed files  wait till next week when version 9 is available which would prevent this.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.