Forums

ASP

This topic is locked

Commas in filename breaks Image Upload

Posted 28 Sep 2007 03:17:43
1
has voted
28 Sep 2007 03:17:43 Garry Sir posted:
Below is the error that displays to users who try to upload an image that has a comma (,) in its filename. This occurs in conjunction with PureUpload309, PU2AddOn180, and SmartImgProc115.
Other possible illegal characters may include the ~ character.

<b>Can the DMX team correct the problem?</b>

Perhaps a replacement function that strips illegal characters prior to writing the file initially.

Server.MapPath() error 'ASP 0173 : 80004005'
Invalid Path Character
/ScriptLibrary/incPUAddOn.asp, line 439
An invalid character was specified in the Path parameter for the MapPath method.

Replies

Replied 28 Sep 2007 09:45:56
28 Sep 2007 09:45:56 Georgi Kralev replied:
Hi Garry,

This problem is due to the Server.MapPath() function, which is called in Pure Asp Upload Addon.
It does not accept some special characters. It cannot be fix because this is ASP function.

One workaround is to use physical path in Pure ASP Upload 3. (In this way Server.MapPath will not be called).

For more information you could check the following thread:
www.dmxzone.com/forum/topic.asp?TOPIC_ID=39445&FORUM_ID=550&CAT_ID=181&NewsId=3331

I hope this helps you.

Notes:
Btw, this forum is not for support of DMXzone.com extensions.
You can find the support forums link (<b>Support</b> Details...) for particular extension at its official page.

Best regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com
Replied 28 Sep 2007 15:27:00
28 Sep 2007 15:27:00 Garry Sir replied:
That did the trick. Thanks for the quick reply.
Replied 28 Sep 2007 16:11:23
28 Sep 2007 16:11:23 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
That did the trick. Thanks for the quick reply.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
No problem Garry.

Best regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com

Reply to this topic