Click here to Skip to main content
14,928,959 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have application in which i want upload Employee Zip File In Local System . For Example :
" D:\Employee_File\E01.zip". How can i do this?
Posted

Hi,

If you are working with windows application then you may need to copy file from one location to another location instead of file upload. File upload concept is used in web application where server is not your local computer.

To copy your file in your windows application then you can use File.Copy[^] function.

In case you need to store this file centrally then you can use Database to store your file.

In case you do not want to store this file in database but you want to store this file centrally then you have to create one service to stream this file on the server. Sharing folder also works but it's not recommended.

Hope i answered your all query
Thanks
-Amit Gajjar
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900