problem in uploading image to server

Discussion in 'iPhone/iPad Programming' started by sspbond007, Sep 4, 2008.

  1. macrumors member

    Joined:
    Aug 19, 2008
    #1
    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 http://discussions.apple.com/thread.jspa?messageID=7820381 . I tried with that also but I stuck on, how to get this image from request (in java).
     

Share This Page