CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2001
    Location
    ROMANIA
    Posts
    30

    how to check if file exists on server

    i want to check if a file exists on a server, but not to download it...
    first i want to see if file exists and then to start to download it, if necessary...
    the server may be a HTTP , a FTP or a simple FILE server...
    hope you can help me...
    thanks

  2. #2
    Join Date
    May 2003
    Posts
    10
    try to send a File Request to the server. If you get an 404 Error, the file doesnt exist, or was not found on the requested Path.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured