In my website I need to download a CSV file from other webserver through coding.
How can I do so?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to use HTTP to get the file the System.Net.WebRequest class is probably your best bet. You can probably do a quick Google search on this to find some tutorials.
For FTP see, System.Net.FtpWebRequest