Moving files using a .net application.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi I have a .net windows application and would like to add the capability of
viewing files from one folder, selecting them and then copying them to
another folder on a different machine. Just wondering if anyone knows if
this is possible and any assistance on how to do it. Thanks.
 
Paul,

Yes you certainly can. You should google for .NET System.IO.File and read up
on that. Doing this via a website will require you to give permission to
access the folders in question to the user account the server is running
your website as. You may or may not also need to use impersonization in the
web.config file and then the account accessing the files would most likely
be the ASPNET account.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
Hi Justin thanks for the response. I decided to make it a windows
application as there will just be one user. I will do a google search.
--
Paul G
Software engineer.


S. Justin Gengo said:
Paul,

Yes you certainly can. You should google for .NET System.IO.File and read up
on that. Doing this via a website will require you to give permission to
access the folders in question to the user account the server is running
your website as. You may or may not also need to use impersonization in the
web.config file and then the account accessing the files would most likely
be the ASPNET account.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top