Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can browse the file on website, but not found when...

Status
Not open for further replies.

angelz

Programmer
Apr 23, 2002
9
GB
Hi all,

My sys admin create a subdirectory for me in Apache server.
I can view my file on the website when I type this url on the web browser,
but then, when I run a vbscript to access this file I got the error message that the "Error #53 file not found"..

the command i used,

Dim myfile
myfile = "//domain/mydir/mytext.txt" - in the Mainscriptobject

OpenNamedListFile(MainScriptObject.myfile) <-- This is where the error occurred.

anyone knows what's happening? Do I need to setup something or what?

Thanks.
 
Hi JohnYingling,

How to map to &quot;real&quot; hardware address???

my actual adress = //domain/mydir/mytext

my symbolic address = /var/web/domain_80/mydir/mytext


Thanks.
 
Isn't server.mappath is an ASP object? My script is not ASp script but (*.xft), this xft is using vbscript to run.

After putting the &quot;server.mappath(&quot;/&quot;)&quot;, i got this run time error,
Object Required:&quot;server&quot;



Thanks buddy

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top