-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: smart_siva
Message 3 in Discussion
Hi Sudhir,
In local system its working means u are hosting the site in local.
when u are in network first u have to copy the selected file with in the
server mean in ur system.
(where the site is hosted..)
then only u can read the file.
<input type="file1" runat=server>
after selecting the spe.file u have to use file1.saveas("\\virtual
directory\files\1.txt")
Then u can use that....
i think it will work.
Thanks.
Siva.S
>From: "SudhirKrMohapatra" <[EMAIL PROTECTED]>
>Reply-To: "BDOTNET" <[email protected]>
>To: "BDOTNET" <[email protected]>
>Subject: Read file from clients in network Asp.Net
>Date: Wed, 28 Sep 2005 22:44:02 -0700
>
>
>
>
>
>
>
>
>
>
>
>
> New Message on BDOTNET
>
>
>
>
>
>
>
> Read file from clients in network Asp.Net
>
>
>
>
> Reply
>
>
>
>
>
> Reply to Sender
> Recommend
>
> Message 1 in Discussion
>
>
>
>
>
>
>
> From:
> SudhirKrMohapatra
>
>
>
>
> Hi all,
>Help me out
>in ASp.Net I am trying to select a text file,Read it and save in my SQL
>Server Database. It works fine locally, but I can't make it work on other
>clients in network.
>
>I am Using <input type=file> and in following code if i select any file in
>network i am geting error message "Could not find a part of the path
>----Selected file location ----"
>'Check if file exists or not
>
>If Not File.Exists(ImportFilename.PostedFile.FileName) Then
>
>lblErrMsg.Visible = True
>
>lblErrMsg.Text = "Specified file doesnot exist"
>
>Return
>
>End If
>
>Thanks in advance
>
>Rgds'
>
>Sudhir
>
>
>
>
>
>
> View other groups in this category.
>
>
>
>
>
>
>
>
>
>
>
>
>
>Also on MSN:
>Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily
>Horoscopes
>
>
>
>
>
>
>
>
>
>
> To stop getting this e-mail, or change how often it
>arrives, go to your E-mail Settings.
>
>
> Need help? If you've forgotten your password,
> please go
>to Passport Member Services.
>
> For other questions or feedback, go to our
> Contact Us
>page.
>
>
> If you do not want to receive future e-mail
> from this
>MSN group, or if you received this message by mistake, please click the
>"Remove" link below. On the pre-addressed e-mail message that opens, simply
>click "Send". Your e-mail address will be deleted from this group's mailing
>list.
>
>
> Remove my e-mail address from BDOTNET.
>
>
>
>
>
>
>
_________________________________________________________________
Stock Market Made Easy!
http://www.sharekhan.com/campaign/OpenNewAccount.asp?ProdID=23&SrcID=59 Join
Sharekhans FirstStep. learn the basics.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]