Find Jobs
Hire Freelancers

C# .NET2.0 HTTP POST w/progress

$30-50 USD

Cancelado
Publicado hace más de 17 años

$30-50 USD

Pagado a la entrega
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 del proyecto: 3703290

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 18 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
3 freelancers están ofertando un promedio de $27 USD por este trabajo
Avatar del usuario
See private message.
$34 USD en 7 días
5,0 (4 comentarios)
0,6
0,6
Avatar del usuario
See private message.
$21,25 USD en 7 días
0,0 (1 comentario)
0,7
0,7
Avatar del usuario
See private message.
$25,50 USD en 7 días
0,0 (1 comentario)
0,0
0,0

Sobre este cliente

Bandera de FRANCE
Carcassonne, France
5,0
10
Forma de pago verificada
Miembro desde nov 21, 2005

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.