Thread: Content-Length with multipart/form-data;

  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,909
    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, 02: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, 03:48 PM
  4. Multipart/form-data parsing in apache c
    By ishtiaqshaiq in forum C Programming
    Replies: 0
    Last Post: 02-28-2005, 05: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