Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to access a remote location and download some files from the location. The point is the accessing requires credentials to be given as input to the command line. And i want to automate the entire thing using C#.
can anyone please help me in achieving the same,ie. how can i automate the logging into the remote machine .
Thanks!!!
Posted

1 solution

 
Share this answer
 
v2
Comments
sovit agarwal 2-Jun-14 7:43am    
Thanks for the material above but its not a web request that i need to make....
i need to download files from a shared location..
DamithSL 2-Jun-14 9:44am    
Shared location! then why you tagged question as FTP and talk about FTP login in the question?
sovit agarwal 2-Jun-14 11:00am    
Because if the user is accessing the shared location for the first time, it asks for the network credentials. hence i wanted to this way

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