problem in uploading image to server

Discussion in 'iOS Programming' started by sspbond007, Sep 4, 2008.

  1. macrumors member

    Aug 19, 2008
    Can anybody help me out? I want to upload image from my iphone to some server in an application. I tried it with writing NSData using writeToUrl method, but this method did not helped me as this method take file URL as parameter.
    I dig out several forums, and found that this can be done by appending NSData in HTTP postdata as explained at link . I tried with that also but I stuck on, how to get this image from request (in java).

Share This Page