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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month9 days, 8 hours left to enroll

762 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