Programatically upload files to web site
- Status Completed
- Budget $100 - $200 USD
- Total Bids 11
We currently upload image files to a customer web site.? The customer web site uses the Imageuploader control by Aurigma for the upload.? The process is very time-consuming.? Our desire is to automate the process by programatically uploading the images.? I've put together a very simple? test? web site that simulates the process.? The web site simply prompts for an order number, then displays a radio button to click, and then finally displays the upload control.
Our desire is for a C# program that? accesses the test web site using HttpWebReqest/HttpWebResponse classes.? It should simulate the entry of a numeric order number, simulate the click on the "Image" button, and then upload 2 images.? Note that the FileUploaded event of the Imageuploader control must be invoked during this process as it is responsible for saving the file.? The solution must? be based on the web page using? the Aurigma ImageUploader control for uploading.
The deliverable can either be a very simple desktop application or command line application.
The URL to the test site? is [[url removed, login to view]].? ? At a high level you will probably need to do a GET request on the inital request, extract the __VIEWSTATE and __EVENTVALIDATION hidden fields so you can post them back along with the order number (the actual order number doesn't matter -- just put in any numeric value).? Then do the same thing with the Image radio button.? Then finally upload the images (which is the critical piece to the puzzle).
For requirements, all we require is a simple document that desribes what you propose to deliver.
I have enclosed the code to the test web site.? Note that in order to run this web site locally, you will need to request a trial key from Aurigma.? The key must then be entered into key property of the control in the [url removed, login to view] page.
* * *This broadcast message was sent to all bidders on Sunday May 9, 2010 8:01:17 PM:
Hi, I've just posted the source code to the web site. If you wish to run it locally, you will need to get a temporary key from Aurigma and enter it into the key property of the control in the [url removed, login to view] page. The idea would be to run the test web app in one instance of visual studio, then have your application run in another instance. Your application will be a C# application that will use the httpwebrequest/httpwebresponse classes to programatically access the test web site. The true designed goal is to have your C# application will need to upload 2 images, via a post to the test web app, such that the fileupload event of the test web app is invoked as this is where the images are saved. I added the work order and image fields just so that you will have to deal with the [url removed, login to view] viewstate. Thx.Get free quotes for a project like this
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online