ASP parent paths
I'm using an ASP version of Digital File Pro and have had a shop running for a client for a couple of years. I've had to change server and the new server doesn't support parent paths.
I've managed to get the site working by changing the include files from, for example:
<!--#include file="../../WA_iRite/WARichEditorVB.asp" -->
to
<!--#include virtual="/WA_iRite/WARichEditorVB.asp" -->
However I'm getting the following error:
Server.MapPath() error 'ASP 0175 : 80004005'
Disallowed Path Characters
/WA_DigitalFilePro/HelperUploadVB.asp, line 52
The '..' characters are not allowed in the Path parameter for the MapPath method.
This is line 52:
makeFolder fso, Server.MapPath(folderPath & newServerDir)
Could anyone tell me how to fix this error?
Many thanks.