Find Jobs
Hire Freelancers

C# .NET2.0 HTTP POST w/progress

$30-50 USD

Скасований
Опублікований over 17 years ago

$30-50 USD

Оплачується при отриманні
I need example (functional) C# code for a desktop .NET2.0 application that will make an HTTP POST and access the progress. The purpose is to send a file with form data and/or XML payload and provide feedback for its progress. Send performance should not be impacted e.g. by writing 1 byte at a time to the buffer. The current solution is using WebRequest and writing to the buffer in larger chunks but this seems clunky and does not provide smooth progress. An ideal solution would report the packets sent as opposed buffered (or even better, ACK'd). Functionality for the following would be required. Transparent cookie management would be beneficial. Progress should be via an event. SetHeaders(headers) //this would set custom headers (or overiride existing) for both the following methods PostMultipart(fields,file,url) //fields is an list of name value pairs //file is the name of the part and the file path PostData(data,url) //data would be a large chunk of XML or other data It seems that UploadProgressChangedEvent used with UploadDataAsync results in an inaccurate progress; whilst UploadFileAsync works there appears to be no way to add additional parts (fields/name value pairs). See below for an example multipart construct with two value fields and a file. If progress worked with UploadDataAsync this multipart data could be constructed seperately and used with it just as an XML payload would, but it does not as far as I can tell. If UploadFileAsync could accept additional parts (or UploadValuesAsync could accept a file part) that would still leave the need for a XML payload method. --0xKhTmLbOuNdArY Content-Disposition: form-data; name="field1" Value1 --0xKhTmLbOuNdArY Content-Disposition: form-data; name="field2" field2 --0xKhTmLbOuNdArY Content-Disposition: form-data; name="field3"; filename="[login to view URL]" Content-Type: image/jpeg Content-Transfer-Encoding: binary ...binarydata... --0xKhTmLbOuNdArY-- ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform WinXP (optionally Win2k and Win98). Use of .NET2.0 classes is acceptable so long as they meet the requirements.
ID проекту: 3703290

Про проект

3 пропозицій(-ї)
Дистанційний проект
Активність 18 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
3 фрілансерів(-и) готові виконати цю роботу у середньому за $27 USD
Аватарка користувача
See private message.
$34 USD за 7 дні(-в)
5,0 (4 відгуки(-ів))
0,6
0,6
Аватарка користувача
See private message.
$21,25 USD за 7 дні(-в)
0,0 (1 відгук)
0,7
0,7
Аватарка користувача
See private message.
$25,50 USD за 7 дні(-в)
0,0 (1 відгук)
0,0
0,0

Про клієнта

Прапор FRANCE
Carcassonne, France
5,0
10
Спосіб оплати верифіковано
На сайті з лист. 21, 2005

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.