HELP need urgently!!!

  • Thread starter Thread starter sonu
  • Start date Start date
S

sonu

In my asp.net application i need to run my application on client
machine search for the files on client machine and save those files in
database.But when i run my application it searches for the file on the
pc where where i am developing the application.
The code for the path which i gave is:
dim path as String="d:/fileserver/img.gif"

I want my application to search the files on the client where it is
running.

How can i do that?
 
Sonu,

Is this ASPNET application meant to run with the client UI on a kind of
InterNet or on the Internet?

Cor
 
ya its on internet.Actually i have a database table that stores the
paths of the files on client machine.Now what i have to do is to
replace those paths with binary image of the file in the table.That's
why i want to search the files in clients using the path already in the
database
 
doh,

I mean Internet or Intranet (or better a machine which is in your own domain
or from which you are able to change the settings yourself)

Cor
 
still my problem is'nt solved.I think FSO can help but how to apply it
to access remote files
Dose anyone know?
 
I need to better understand what it is you are attempting to do.

1. If you are attempting to prompt the user to specifiy a file for upload
back to the server, then you would use the filefield. This will prompt the
user with a commondialog.file.showopen interface.

2. If you are attempting to audit the client PC for files stored locally,
then you will have to implement a client side solution that is executed by
the website. Internet Explorer, JavaScript, and VBScript do not have the
proper security rights to peer into the local machine (Client). You will
then have to create a solution that will (i.e; an activex control). When
the user browses to your site, and chooses to have your site audit their
files, you will then activate your (ActiveX control) the user will be
prompted (In most cases, to allow this to occur). This does not have to be
ActiveX, it can be any executable that the local machine has a runtime for.
If they have the .Net framework, then you can create an assembly to your
bidding.
 
What i m tring to do is ,I have a database with tables having paths of
the files on the client machine.Now what i want is on a button click
by the user search all the files on client machine and the file path
should replaced by user files that have been searched from the client
machine.
I think the second solution u gave will be applicable in this case,but
can u help a little more.
 
Back
Top