Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all

 

I wish to read a text file for the c drive of the client machine

e.g. c:\import\customers.txt

 

I am using this file to import into the access database on the server.

 

Problem: When I try to open this file from the page it looks to the servers c:\

 

Anyone know how I can read from the clients PC??

 

cheers

ZuBiE

Posted

Because asp.net is a server based language it will look at the server instead of the client PC.

 

The work around it to upload the file to the server then import into the access database

 

Andy

Code today gone tomorrow!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...