Content-Length with multipart/form-data;

This is a discussion on Content-Length with multipart/form-data; within the Networking/Device Communication forums, part of the General Programming Boards category; I am making a custom http uploader, i am having trouble understanding the content length , it looks like its ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    319

    Content-Length with multipart/form-data;

    I am making a custom http uploader, i am having trouble understanding the content length , it looks like its filesize + something, does anyone know what is it?

  2. #2
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,496
    Off hand, no. It might have to do with other data or meta data that HTTP requires, such as the place on the server you're going to store the file, it's content type, etc. The RFC is always a good place to look: http://www.ietf.org/rfc/rfc2616.txt. Googling "http content-length for file uploading" turned up this site, amongst others.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Passing data between a thread and a form
    By DanFraser in forum C# Programming
    Replies: 14
    Last Post: 11-28-2008, 01:52 AM
  2. uploading file to http server via multipart form data
    By Dynamo in forum C++ Programming
    Replies: 1
    Last Post: 09-03-2008, 04:36 AM
  3. question: i/o data form .txt or .xls files ??
    By camelman in forum C++ Programming
    Replies: 21
    Last Post: 11-17-2007, 02:48 PM
  4. Multipart/form-data parsing in apache c
    By ishtiaqshaiq in forum C Programming
    Replies: 0
    Last Post: 02-28-2005, 04:12 AM
  5. Recording Data sent to program by Form
    By No1 in forum C++ Programming
    Replies: 2
    Last Post: 09-28-2001, 07:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21