On Jan 31, 5:19 pm, bruce barker <nos...@nospam.com> wrote:
> see previous reply. there is no way other than an active/x control. as
> this control will be inherently unsafe, you probably can not find one to
> buy, so you will have to build it.
>
> also while this control could be written in .net, as its unsafe, the
> user would have to mark it as trusted for it to be able to access the
> file system.
>
> -- bruce (sqlwork.com)
>
>
>
> Chris wrote:
> > Hello,
>
> > I am using asp.net. I have been searching this for a while, but dint
> > find any solution yet. Any help will be appreciated.
>
> > I have a string variable say 'myFile' that has complete path of a file
> > located in client machine. eg:
> > Dim myFile as string = "C:/myFolder/File1.txt"
>
> > Clicking on a button should copy that file from local client to a
> > location in the server.
>
> > I am familiar with 'HtmlInputFile', but the property 'PostedFile' is
> > readonly. I can not assign my 'myFile' variables value to it. I am not
> > using HTMLInputFile b'coz I dont want to store the file when I select
> > it after browsing. I am storing it in a string variable and later on
> > (in the end), I have to save/upload it in the server.
>
> > Thanks,
> > Chris- Hide quoted text -
>
> - Show quoted text -
That makes sense. I can not use windows application. It has to be web
app. I'll try something else.
Thanks for your help !! I appreciate it.
|