Link to home
Start Free TrialLog in
Avatar of marky102
marky102

asked on

asp.net

i have a drive path to a file on my local machine and i need an asp.net page on the  server to read and upload this file.

I get the error can not find file using FileUpload.FileName.

thanks
ASKER CERTIFIED SOLUTION
Avatar of plusone3055
plusone3055
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Need more info. Are both machines on the same network? AD domain? Does the account that the site is using have permissions to that path? Is the client machine always the same or do you need to upload files from this path on which ever machine the site is accessed from?
Avatar of marky102
marky102

ASKER

more info:

On the network,  the user logs on, and wants  to access and upload a file from their local  machine, while logged on to an asp.net page. So they already have all the permissions needed. The client machine doing the accessing can be different users, but they will always try to access and upload a file from their local machine. Yes which ever machine the site is accessed from.

thnks
One more ?

Is the file always in the same directory regardless of user or client machine, or would giving them an option to browse for the file be more acceptable?
the user browses for the file of their choice, therefore the file can be in different locations .

thnks
good work