Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > iPhone Developer Exchange

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-14-2009, 02:13 PM
111111
Status: Offline
Member
 
Join Date: Jun 2009
Posts: 50
Rep Power: 3
111111 is on a distinguished road
Default Problem with Curl (-F option)

Hi I'm trying to use curl on the iphone to communicate with a certain host; for what I can see it doesn't work like that one on my pc (Debian etch).
If I try to make a request using -F option like this one:

curl "http://192.168.1.x/" -s -F "name=tony"

this is the result:

curl: option -F: is badly used here
curl: try 'curl --help' or 'curl --manual' for more information

Shouldn't it be right?
Any helps?

Last edited by 111111; 09-19-2009 at 04:11 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 10-30-2009, 07:36 PM
111111
Status: Offline
Member
 
Join Date: Jun 2009
Posts: 50
Rep Power: 3
111111 is on a distinguished road
Default

I couldn't find how to made it with curl.
I solved with wget.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 10-31-2009, 02:42 AM
fubaya
Status: Offline
Junior Member
 
Join Date: Oct 2009
Posts: 12
Rep Power: 0
fubaya is on a distinguished road
Default

I had the same problem. Most of the things on my computer using curl use -F and have to be switched to -d to work on the iPhone. You already solved it, but this is what works for me:

curl http://192.168.1.x/ -s -d name="tony"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[3G] Screen problem after a fall Oranav Hardware 5 11-06-2008 01:44 PM
sleep problem when not on external power ckinsella Hardware 1 09-27-2008 10:31 PM
[1.1.4][advice] Problem with GPRS on 2 phones purpleparrotuk Older Software Unlock Solution 0 07-15-2008 09:00 AM
iPhones with problem: no software/hardware unlock works. deki General 1 09-13-2007 09:36 AM



All times are GMT +2. The time now is 08:22 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105