Click here to Skip to main content
14,541,809 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi,

I am new to C# ..please help me if we want to download the files from the remote server and copy it to my Local folder.

Suppose i ahve a server abcdefghhjhjk and username -test and password -test
i want to connect to this server and and get the files present in C:\ folder with the zip extension and copy it to my Local folder.

Please help me out its urgent.

Thansk in advance
Regards,
Nirmala.Gudur
Posted
Comments
ZurdoDev 16-Jul-13 7:57am
   
Are you writing code to do this or just ftp? Where are you stuck?
[no name] 16-Jul-13 8:17am
   
I went and checked and found out that it's not urgent at all. Besides, that you have not indicated what is running on your "server" that you are trying to connect to.
nirmala Gudur 17-Jul-13 6:54am
   
Hi,

but the i am not downloading from the url ...i want to get the zip file which is present in \\abcdefgh\foldername
In this above mentioned folder i want get the zip file and copy it to my local ...

Please help me on this ..
[no name] 17-Jul-13 11:57am
   
Help you with what exactly? What is wrong with the code that you have written? Are you unable to connect to that path? Did you try anything at all?
Rate this:
Please Sign up or sign in to vote.

Solution 1

Hello ,

Please check this link :(they download a .zip file and extract it from server URL)

Link1[^]

or :

Download File Using C#[^]
   
v2
Rate this:
Please Sign up or sign in to vote.

Solution 3

Hi,

but the i am downloading from the url ...i want to get the zip file which is present in \\abcdefgh\foldername
In this mentioned above folder i want get the zip file and copy it to my local ...

Please help me on this ..

Thanks a ton
   
Comments
Sushil Mate 17-Jul-13 7:15am
   
so you are not able to copy to your local drive? are you able to download file?
nirmala Gudur 8-Aug-13 12:42pm
   
I am able to download the file an extarct it ..Thanks!!

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100