Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
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.
Web Languages and Standards
Web Development Software
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
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?
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.
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?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
the user browses for the file of their choice, therefore the file can be in different locations .
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent