Print Page | Close Window

Modify image/file upload folder

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=24744
Printed Date: 06 April 2026 at 10:19am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Modify image/file upload folder
Posted By: desertfox
Subject: Modify image/file upload folder
Date Posted: 03 November 2007 at 8:08am
Greetings,

is it possible to modify the folder path where images from postings can be uploaded by the user? I am using the MS Access version of WebWiz forum.

Kind regards
Rainer



Replies:
Posted By: Scotty32
Date Posted: 03 November 2007 at 10:09am
In the admin area under the File upload page, it should let you change the folder.

Make sure the folder you point to exists before changing it


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: desertfox
Date Posted: 03 November 2007 at 10:22am
Sorry, either i am blind, stupid or just do not see it but there is nothing

the mod file is the "admin_upload_configure.asp", or?


Posted By: Scotty32
Date Posted: 03 November 2007 at 7:53pm
Sorry, I dont use File upload so i assumed it was the same as V8.

For the file upload look in the file "includes/setup_options_inc.asp".

This is not with the browser, open it with your text editor, and change the line:

strUploadFilePath = "uploads" 'This is the upload folder



-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: WebWiz-Bruce
Date Posted: 03 November 2007 at 11:11pm
The reason why it is not an option in the admin area is that with version 9, many users who changed the default location of the upload folder found that the forum would crash or uploads would not work correctly.

Therefore it is highly recommended that you do NOT change the upload folder location.


-------------
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


Posted By: desertfox
Date Posted: 04 November 2007 at 8:34am
Thanks for the answers.., upload is now working, however, i noticed that when uploading an image with a comma (,) and space in the file name if get the error message:

####

Server.MapPath() error 'ASP 0173 : 80004005'

Invalid Path Character

/forum/functions/functions_upload.asp, line 188

An invalid character was specified in the Path parameter for the MapPath method.

####

But the image is uploaded into the /forum/uploads folder.

But or feature?



Posted By: WebWiz-Bruce
Date Posted: 05 November 2007 at 8:19am
Spaces are OK as they are replaced with an _ when uploaded, but it looks like commas (,) can course the server to throw an error.

This will be fixed for the next release to strip commas from uploaded files.


-------------
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