Print Page | Close Window

Again about uploading...

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=16680
Printed Date: 17 April 2026 at 11:28am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Again about uploading...
Posted By: Eurgene I
Subject: Again about uploading...
Date Posted: 24 September 2005 at 11:50pm
Hi!
 
For uploading files I cannot use anything, except for Persits AspUpload component. The file with help Persits AspUpload component on is loaded on the server, but there is an error message:
 
Server.MapPath() error 'ASP 0174 : 80004005'
Invalid Path Character(s)
/cgi-bin/forum/functions/functions_upload.asp, line 146
An invalid '/' or '\' was found in the Path parameter for the MapPath method.
 
and in an edit window the image does not appear.
 
If line 146
.Files (1) .CopyVirtual strFileUploadPath and "/" and strNewFileName
I change on
.Files (1) .CopyVirtual strFileUploadPath and "" and strNewFileName

Then all passes normally: the file is loaded, seen in an edit window and appears in the message.

Any ideas?


-------------
"If you healthy one, you hadn't been examined." . All about of laboratory tests on http://www.primer.ru - www.primer.ru



Replies:
Posted By: dpyers
Date Posted: 25 September 2005 at 11:11am
Looks like you have a / at the end of the uploads directory where you defined it in the admin section so your file path contained a //.

Changing the "/" to a "" eliminted one of the /



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: Eurgene I
Date Posted: 25 September 2005 at 1:58pm

In my case there is no numeral "/" at the end of the uploads directory, what I'm defined in the admin section.

And the error message appears even if the title of the directory will consist of one word, without any "/"

In what there can be a difference of the actual server on which there is my site -  from hypothetical for which wrote code Borg?



-------------
"If you healthy one, you hadn't been examined." . All about of laboratory tests on http://www.primer.ru - www.primer.ru



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