asp.net

marky102
marky102 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
you will need ot FTP to that Machine with a username and PW and then path to the file to Download it

Heres a quick tutorial

http://stackoverflow.com/questions/3627794/asp-net-ftp-download
bfrostmbiSystem Admin

Commented:
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?

Author

Commented:
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
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

bfrostmbiSystem Admin

Commented:
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?

Author

Commented:
the user browses for the file of their choice, therefore the file can be in different locations .

thnks

Author

Commented:
good work

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial