开发者

uploading csv file on website and get result

开发者 https://www.devze.com 2023-01-19 13:28 出处:网络
Dear friends I have a console application in which i want to firstsign in and then I press button which directs me tofile upload form .In file upload form I want to upload a csv file and then redirec

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 开发者_JAVA百科application? thanks.


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


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: Upload files with HTTPWebrequest (multipart/form-data), seems to be right. I'm doing something similar in python currently.

0

精彩评论

暂无评论...
验证码 换一张
取 消