By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,882 Members | 2,465 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,882 IT Pros & Developers. It's quick & easy.

Web app, copy files on client machine

P: n/a
Hi
I have a Web application.

How could I copy a file from one path on the client machine to another
path on the client machine?

Thanks.

Nov 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
This is a tricky question. Your web app doesn't have access to the client
machine.

To get acces you will have to take a different route. Most people would
try an ActiveX control here since they run inside the browser on the client
machine and as such have access to the file system. However this is an
unmanaged solution.

In terms on managed solutions I don't know of good one.

--
Jared Parsons [MSFT]
ja******@online.microsoft.com
http://blogs.msdn.com/jaredpar
"This posting is provided "AS IS" with no warranties, and confers no rights"
"Iwan Petrow" <xx****@abv.bg> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi
I have a Web application.

How could I copy a file from one path on the client machine to another
path on the client machine?

Thanks.

Nov 17 '05 #2

P: n/a
> In terms on managed solutions I don't know of good one.
I don't believe there is.

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
"Jared Parsons [MSFT]" <ja******@online.microsoft.com> wrote in message
news:e7**************@tk2msftngp13.phx.gbl...
This is a tricky question. Your web app doesn't have access to the client
machine.

To get acces you will have to take a different route. Most people would
try an ActiveX control here since they run inside the browser on the
client machine and as such have access to the file system. However this
is an unmanaged solution.

In terms on managed solutions I don't know of good one.

--
Jared Parsons [MSFT]
ja******@online.microsoft.com
http://blogs.msdn.com/jaredpar
"This posting is provided "AS IS" with no warranties, and confers no
rights"
"Iwan Petrow" <xx****@abv.bg> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi
I have a Web application.

How could I copy a file from one path on the client machine to another
path on the client machine?

Thanks.


Nov 17 '05 #3

P: n/a
You could do something in the form of

1) Having IE host a .NET Control via your page
2) Sign the assembly that contains the control
3) Grant Full Trust to the assembly on the client

That should give the control sufficient permissions to modify the computer.
The trick is step #3. For that you would need

1) Have the client user manually grant the assembly sufficient trust
2) Host a separate ActiveX control that grants the assembly trust.

I don't think the average user will want to do #1 and #2 is back into an
unmanaged solution.

--
Jared Parsons [MSFT]
ja******@online.microsoft.com
http://blogs.msdn.com/jaredpar
"This posting is provided "AS IS" with no warranties, and confers no rights"
"Alvin Bruney [MVP - ASP.NET]" <www.lulu.com/owc> wrote in message
news:uA*************@TK2MSFTNGP14.phx.gbl...
In terms on managed solutions I don't know of good one.

I don't believe there is.

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
"Jared Parsons [MSFT]" <ja******@online.microsoft.com> wrote in message
news:e7**************@tk2msftngp13.phx.gbl...
This is a tricky question. Your web app doesn't have access to the
client machine.

To get acces you will have to take a different route. Most people would
try an ActiveX control here since they run inside the browser on the
client machine and as such have access to the file system. However this
is an unmanaged solution.

In terms on managed solutions I don't know of good one.

--
Jared Parsons [MSFT]
ja******@online.microsoft.com
http://blogs.msdn.com/jaredpar
"This posting is provided "AS IS" with no warranties, and confers no
rights"
"Iwan Petrow" <xx****@abv.bg> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi
I have a Web application.

How could I copy a file from one path on the client machine to another
path on the client machine?

Thanks.



Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.