How to use system in Cocoa to invoke curl

Posted by happyCoding25 on Stack Overflow See other posts from Stack Overflow or by happyCoding25
Published on 2010-03-13T18:16:57Z Indexed on 2010/03/14 3:55 UTC
Read the original article Hit count: 338

Filed under:
|
|
|
|

Hello,

I was wondering the best way to upload file to a web server in cocoa. I cant seem to get my curl code to work even though it works when run from terminal.

curl code:

system(@"curl -T /file.txt http://webserevertouploadto.com")

Thanks for any help

© Stack Overflow or respective owner

Related posts about curl

Related posts about cocoa