It's no problem to check the client side file system if your clients will be
IE, you can use the VBScript "FileSystemObject" to check if the file is
there or not.
The problem is using the client to cancel the download that has already
begun at the server level.
You might want to try having the link point, not to the file for download,
but to a page that consists of nothing but the code that will check to see
if the user already has the file. If they do, the page can redirect them
back to where they came from without doing anything and if they don't, the
file can redirect them to a page that sends the file down to them.
Check here for info. on using the FSO (also look at the methods link for the
"FileExists" method that you will need):
http://msdn.microsoft.com/library/de...stemobject.asp
"mhadi" <mh*****@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hello
Please Help me!! The big bossman is screaming in my ear,
I am only devloper of dotnet in my software house and know only to develop
widows based application !!
My boss wan't me to devolope a page so that when a user clicks a link to
to download a file the page check directory at client side(fixed lets name it
"c:\download") and search for file say "blablav1.1.exe" (version will be
updated)
if file is found then
dont download it
else if it is not then
download the new version and execute it to install
waiting for quick rescue
mhadi