Print Page | Close Window

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

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=23855
Printed Date: 07 April 2026 at 5:47am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Moving users uploaded files from 7.x to 8.x
Posted By: scottrogers
Subject: Moving users uploaded files from 7.x to 8.x
Date 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 - 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.
 
 
 
 
 
 
http://linkoneforum.mincom.com/forum/uploads/Brad/2005-01-06_090254_IDriver.exe.config.zip -  
 


-------------
Scott Rogers



Replies:
Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net