FROM : Tom Harrington
DATE : Thu Mar 13 22:41:23 2008
Also, for what it's worth, I can hit the server just fine at the
command line with:
curl -F "file=@mypic.jpg;filename=7195554321_1_20080311132327_jpg"
http://server:8080/php/post.php
...yet for some reason the NSURLRequest approach fails. Any/all tips
are welcome.
On Thu, Mar 13, 2008 at 3:02 PM, Tom Harrington <<email_removed>> wrote:
> On Thu, Mar 13, 2008 at 2:50 PM, Tom Harrington <<email_removed>> wrote:
> > [postBody appendData:[[NSString stringWithString:@"Content-Type:
> > null\r\n\r\n"] dataUsingEncoding:NSUTF8StringEncoding]];
>
> Someone asked about this. FYI, "null" is what the other clients use,
> but if I use "image/jpeg" it fails in exactly the same way.
>
>
>
> --
> Tom Harrington
> <email_removed>
> AIM: atomicbird1
>
--
Tom Harrington
<email_removed>
AIM: atomicbird1
DATE : Thu Mar 13 22:41:23 2008
Also, for what it's worth, I can hit the server just fine at the
command line with:
curl -F "file=@mypic.jpg;filename=7195554321_1_20080311132327_jpg"
http://server:8080/php/post.php
...yet for some reason the NSURLRequest approach fails. Any/all tips
are welcome.
On Thu, Mar 13, 2008 at 3:02 PM, Tom Harrington <<email_removed>> wrote:
> On Thu, Mar 13, 2008 at 2:50 PM, Tom Harrington <<email_removed>> wrote:
> > [postBody appendData:[[NSString stringWithString:@"Content-Type:
> > null\r\n\r\n"] dataUsingEncoding:NSUTF8StringEncoding]];
>
> Someone asked about this. FYI, "null" is what the other clients use,
> but if I use "image/jpeg" it fails in exactly the same way.
>
>
>
> --
> Tom Harrington
> <email_removed>
> AIM: atomicbird1
>
--
Tom Harrington
<email_removed>
AIM: atomicbird1
| Related mails | Author | Date |
|---|---|---|
| Tom Harrington | Mar 13, 21:50 | |
| Tom Harrington | Mar 13, 22:02 | |
| Tom Harrington | Mar 13, 22:41 | |
| Ben Lachman | Mar 14, 07:43 | |
| Tom Harrington | Mar 14, 16:49 |






Cocoa mail archive

