How do I use FileExists  in ASP  to check files on different server ?

Posted on 2003-02-25
Medium Priority
Last Modified: 2010-04-20
I have to check for files that exist on a different server. Right now it is given me a False result when using FileExists.

Thanks for any help available.
Question by:jmontalvo
1 Comment

Accepted Solution

dmusi earned 200 total points
ID: 8017978
The problem is that the server return Access denied and cause the fileexists give you FALSE.
working across server in the web is problematic cause you have to open a share folder in the destination folder and give access to the Internetanonymous. or change the default user of the site to enter the server with another user.
My advice: If the file are no criticals make a copy to a open share to everyone folder and always use ip no host name of the server. But if the files are criticals, create a task job of FTP to bring the files to the web server and from there simple way.

hope this could be helpfull


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question