LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2010, 06:42 AM   #1
limadario
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
auto fill a form and submit using curl


I'm trying to upload a file to a page using curl and after uploading that file i want to store the redirecting page so i can download the results.
I'm using the command:

curl "http://apps.gdgps.net/kag_upload.php?kag_type=static&kag_frequency=dual&kag_latency=accurate&
kag_l1=P&kag_ema=7.5&rinex_interval=300&upfile_0=@CASC2270.09o&upload_button=Upload"

can anybody tell me what is wrong with this command?
Edit/Delete Message
 
Old 06-04-2010, 06:46 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by limadario View Post
I'm trying to upload a file to a page using curl and after uploading that file i want to store the redirecting page so i can download the results.
I'm using the command:

curl "http://apps.gdgps.net/kag_upload.php?kag_type=static&kag_frequency=dual&kag_latency=accurate&
kag_l1=P&kag_ema=7.5&rinex_interval=300&upfile_0=@CASC2270.09o&upload_button=Upload"

can anybody tell me what is wrong with this command?
Edit/Delete Message
you are not stating keypress or submit etc etc

have a look at these examples



http://curl.haxx.se/docs/httpscripting.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to fill textareas and press on submit using JS or perl ? jabka Programming 3 05-09-2008 01:52 PM
javascript - submit an iframe form AM1SHFURN1TURE Programming 1 09-23-2006 06:51 PM
submit a form with javascript djgerbavore Programming 6 06-01-2005 03:46 PM
Authentication by Submit Form in Apache??????? ruiseixas Linux - Security 1 11-23-2003 12:02 AM
shell script form submit precioso77 Linux - General 2 05-18-2003 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration