tags:

views:

22

answers:

2

Dear friends I have a console application in which i want to first sign in and then I press button which directs me to file upload form .In file upload form I want to upload a csv file and then redirect to next form after clicking submit button then i want to get response of that form . can any one help me to do this from C# console application? thanks.

+2  A: 

if you want to upload a file on a website from a console application, then you should have information about FTP credentials.

AsifQadri
A: 

If you want to do a real http-transfer you need to create a http request, I looked around a little bit and found this: http://stackoverflow.com/questions/566462/upload-files-with-httpwebrequest-multipart-form-data, seems to be right. I'm doing something similar in python currently.

dutt