Find Jobs
Hire Freelancers

Automate file upload with form fields to third party webpage from c# desktop application

$500-1000 USD

In Progress
Posted about 13 years ago

$500-1000 USD

Paid on delivery
This is the spec. It is not subject to change. Please bid and reply only to meet the spec. Please contact us only if you have done this type of work before in c# using HttpWebRequest. We need a **c# program**, called "helper" in this example, that will use **HttpWebRequest (aka .NET WebRequest)** object to submit form fields, including multiple file uploads to web forms and navigate between them. The class which must be instantiated with an initial connection to the website. It must maintain session between posts. It must also support client credentials. It should have two public methods Submit and Goto. **Public string Submit(string url, ElementValuesCollection elementValues)** returns the response to the post request. ElementValuesCollection is a collection of ElementValues which is a class with the string properties Name, Value, and Type representing the values of the HtmlElement to be set. This class will also have a Byte[] Data property. The Data property will hold the bytes of the file to be uploaded in the event the Type="file" but this property will be set inside the Submit method. The calling program will only ever assign the string values. **Public string Goto(string url) ** returns the response for a request. **Public ElementValuesCollection GetElements()** will populate the ElementsValueCollection with all the HtmlElements on the "current" page. (The page after a Goto) These elements will be limited to specific types such as input, select, text, ahref, etc. Helper class constructors will include **Helper(string url)** and **Helper(string url, X509Certificate clientCertificate)**
Project ID: 3122140

About the project

2 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$680 USD in 5 days
4.9 (378 reviews)
6.9
6.9
2 freelancers are bidding on average $553 USD for this job
User Avatar
See private message.
$425 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
5
Member since Mar 6, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.