Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

We were accessing remote server files and folders by taking remote desktop access by entering username and password. Now my boss wants it in asp.net website, like if I enter my server's IP address and it's username and password then it should list drives in a dropdownlist. If a drive is selected then it should list its folders and if we select that particular folder from dropdownlist then all files which are containing in that folder should be listed out in other dropdownlist.

Now only thing I want is how to connect to remote server and list its all drives in dropdownlist.

Please help me. :(


Thanks & Regards,
Krunal Panchal
Posted
Updated 3-Apr-11 23:48pm
v2

1 solution

 
Share this answer
 
Comments
[no name] 4-Apr-11 6:00am    
Hi,
I know how to list files, but i only want to know that how could i connect to remote server using ip address, username and password ??
I need only the idea of connection to the remote server....

Please help me...

Thanks & Regards,
Krunal Panchal
Eduard Keilholz 4-Apr-11 6:09am    
I agree it's not the best answer I've seen on the CodeProject, but it is indeed the correct answer to your question! We're not here to write your code, we're here to help you learn, but you'll have to code yourself. If you don't understand the answer, modify your question and ask a proper question... My 5 for this answer...
Henry Minute 4-Apr-11 6:13am    
Sorry, I misunderstood.

Have a look at the CP Article "Simple FTP demo application using C#.Net" at http://www.codeproject.com/KB/IP/SimpleFTPDemo.aspx

I think it will help.

Also this http://www.dreamincode.net/forums/topic/35902-create-an-ftp-class-library-in-c%23/ might be useful.

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