Results 1 to 2 of 2

Thread: Upload Problem 204, NULL

  1. #1
    Join Date
    Oct 2008
    Location
    Germany
    Posts
    10
    Rep Power
    7

    Default Upload Problem 204, NULL

    Hello,
    I just tried to implement a file-upload (in knowledge of the documentation in upload-file.txt) and I am able to send the POST Data. I made a little C++ client-side programm which sents the soap-login-package and receives the ZM_AUTH_TOKEN and it builds the POST Data.
    For background information I took these additional information:
    public:howto:htmlforms [Ararat Synapse]
    and
    How To Build A multipart/form-data POST request
    The POST-data looks like this:
    POST /service/upload HTTP/1.1
    Host: zimbra
    Content-Type: multipart/form-data; boundary=12BA21A1BHS_Boundary
    Conection: keep-alive
    Keep-Alive: 300
    Cookie: ZM_AUTH_TOKEN=0_dd97ed9acc10244476ec496db57312c883 ab2537_69643d33363a34366163363835342d383865622d346 331642d613731632d3839303333393630653830393b6578703 d31333a313232353435363836353630303b747970653d363a7 a696d6272613b
    Content-Length: 1118


    --12BA21A1BHS_Boundary
    Content-disposition: form-data; name="dmRepAusUnit";filename="dmRepAusUnit.dti"
    Content-Type:multipart/formdata;name="dmRepAusUnit.dti"
    Content-Transfer-Encoding:base64


    W0Rlc2lnbmVyXQ0KVmVyc2lvbj0xDQpMZWZ0PTU4NA0KVG9wPT I0MA0KV2lkdGg9NzQxDQpIZWln
    aHQ9NTg4DQpTcGxpdHRlcj0xODUNClNlbGVjdGVkVGFiPUtvbX BvbmVudGVuDQoNCltDb21wb25l
    bnRzXQ0KVmVyc2lvbj0xDQpMZWZ0PTANClRvcD0wDQoNCltUcm VlVmlld10NClZlcnNpb249MQ0K
    UHJpbnRIZWFkZXI9MQ0KUHJpbnRUb1NpbmdsZT0xDQpQcmludF RvRmlsZT0wDQpQcmludEJvcmRl
    cnM9MQ0KUHJpbnRTZWxlY3RlZD0wDQpQcmludFZpc2libGU9MA 0KRXhwYW5kZWRJdGVtcz1kbVJl
    cEF1c1xhZGNNYWluXGFkc0t1bmRlbmF1c3dhaGwsZG1SZXBBdX NcYWRjTWFpblxhZHNFbmRrdW5k
    ZSxkbVJlcEF1c1xhZGNSZXBvc2l0b3J5DQoNCltEYXRhRGlhZ3 JhbXNdDQpWZXJzaW9uPTENClBy
    aW50SGVhZGVyPTENClByaW50VG9TaW5nbGU9MQ0KUHJpbnRUb0 ZpbGU9MA0KUHJpbnRCb3JkZXJz
    PTENCkxlZnQ9MA0KVG9wPTANCk1vZGVTZWxlY3RlZD1TZWxlY3 Rpb25Nb2RlDQpDb3VudD0xDQoN
    CltEYXRhRGlhZ3JhbXMuRGlhZ3JhbS4wXQ0KSXNsYW5kcz0NCk NvbW1lbnRzPQ0KQnJpZGdlcz0N
    CkFsbHVkZXM9DQoNCg==


    --12BA21A1BHS_Boundary
    Content-disposition: form-data; name="requestId"

    5B13709B
    --12BA21A1BHS_Boundary--
    The answer from the server is: 204,'null'
    So what is wrong???
    (The Zimbra_Test Programm is in the attachment, Codegear C++ Builder and Indy-Library 10.1.5), and a little it from Jedi-Library)
    Attached Files Attached Files

  2. #2
    Join Date
    Sep 2010
    Posts
    6
    Rep Power
    5

    Default

    I have the same issue while uploading a file with javascript's xmlHttpRequest.

Similar Threads

  1. Briefcase upload problem outside of LAN
    By rdavisids in forum Administrators
    Replies: 1
    Last Post: 02-13-2008, 11:10 AM
  2. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 06:07 PM
  3. Various errors during install and initial startup
    By theschles in forum Installation Help
    Replies: 2
    Last Post: 11-21-2007, 01:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •