Sponsored Content
Top Forums Shell Programming and Scripting Using cURL to submit a post form Post 302676441 by hansvg on Tuesday 24th of July 2012 02:50:41 PM
Old 07-24-2012
Thank you for your help. Much appreciated.

I was successfully able to submit my post to with this command: curl -d id1=29 -d submit=Download http://try-db.org/de/DnldTraitMeas.php > 29result.html

The resulting page has the filename of the temporary file that gets created. I can then script out the url to wget the actual tab delimited data.

Cheers
This User Gave Thanks to hansvg For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

maintaining form post session using curl

Hello, I have searched for a good part of the day, but cannot seem to find an answer to this. I hope this is an appropriate forum for my question. I am wanting to download a blog web page using a script. It requires username and password login. I have tried the following (an example) to no... (1 Reply)
Discussion started by: Allasso
1 Replies

2. Shell Programming and Scripting

PHP Help with Form Submit

Hi, I have a custom HTML form that has a couple radio buttons and a text field that requires a number. I'm not a php programmer and could use some help with putting together php code to calculate a total based on the radio button selection and the text field number. ... (3 Replies)
Discussion started by: nck
3 Replies

3. Shell Programming and Scripting

using wget to submit a form on linksys router

I'm trying to use wget to submit a form. I have tried to dig out what is actually being "posted" and where, using tamperdata (see below). http://ubuntuforums.org/attachment.php?attachmentid=109123&d=1239224127 Here is my wget command: wget --http-user=xyz --http-password=xyz... (1 Reply)
Discussion started by: mike909
1 Replies

4. Ubuntu

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&... (8 Replies)
Discussion started by: limadario
8 Replies

5. Shell Programming and Scripting

Can't submit a form.

hello my script is submitting POST-data to a site (its not my first script, i've done these before many times (include parsing scripts) but this one is tough) so the problem is i'm submitting a form with firefox and in firebug i see WHAT exactly i'm submitting then when i do EXACTLY the... (28 Replies)
Discussion started by: tip78
28 Replies

6. Shell Programming and Scripting

Curl Script - Post a file (multipart/form-data)

Hi All, I am trying to post an xml file (utf-16 encoded) using curl to a REST service. The REST service is expecting 'multipart/form-data' content type. curl -k -i -H "Content-Type=multipart/form-data" -F "filename=@file.xml;type=text/xml" -X POST -u <username>:<password> <endPointURL> ... (0 Replies)
Discussion started by: Anooja G
0 Replies

7. Shell Programming and Scripting

Curl to hit the submit button

Hello, I am looking to hit a URL using curl and click on submit button so that I can get the results. The below is the code <input name="tos_accepted" id="tos_accepted" class="button" type="submit" value="Yes, I Agree"/> <input name="tos_discarded" id="tos_discarded"... (1 Reply)
Discussion started by: Kochappa
1 Replies

8. Shell Programming and Scripting

Exec submit form in bash script

Hi All, I'm new in forum. Many congratulations to everyone for all work. I'm not an expert in bash script I've a problem with a sh file. The sh file run every t minuts and it read data from txt file and then compile form. Finally, the user, from the web browser click on send. The script... (0 Replies)
Discussion started by: Herbert
0 Replies

9. Web Development

Curl - post form issue

I'm having an issue with curl post form, I dont' understand what I'm mising. I would like to send a post command login/password to a form, quite simple in the paper. URL : http: // <myebsite> / login Here the form source code : <form action="/login_check" method="post"> <input... (3 Replies)
Discussion started by: Fred13
3 Replies

10. Web Development

CURL - Post Form Isssue ( sequel )

Hi, I write a new thread to discuss about my closed topic with new information ( /280990-curl-post-form-issue.html ) The previous post was closed because of missing informations, I didn't have access yet to server logs. ----------------------------------------------------------------------... (4 Replies)
Discussion started by: Fred13
4 Replies
MAKESMTPACCESS, MAKE(8) 				      Double Precision, Inc.					   MAKESMTPACCESS, MAKE(8)

NAME
makesmtpaccess - Build ESMTP server access file SYNOPSIS
makesmtpaccess makesmtpaccess-msa DESCRIPTION
makesmtpaccess rebuilds the contents of the /etc/courier/smtpaccess.dat database from the contents of the files in the /etc/courier/smtpaccess directory. When the esmtpd script starts couriertcpd, the script specifies /etc/courier/smtpaccess.dat file to control access to the Courier mail server's ESMTP daemon. The makesmtpaccess script must be run before any changes in the /etc/courier/smtpaccess directory take effect. The couriertcpd(8)[1] manual page describes the general format of the access file. The default Courier mail server configuration uses the same access file, /etc/courier/smtpaccess.dat for both the regular ESMTP server, and the message submission server on port 587 (RFC 2476[2]). It is possible to use different access files. To do so, create a different access file, edit /etc/courier/esmtpd-msa, and set ACCESSFILE to the filename of the access file directory (the directory containing the plain text files, not the .dat file). Then, use makesmtpaccess-msa instead of makesmtpaccess to build the .dat file. The smtpaccess configuration file The couriertcpd(8)[1] manual page describes the generic format of the access file. The access file specifies what should be done with connections from defined IP address ranges. The basic choices are to accept or reject the connection. Also, the generic format of the access file allows arbitrary environment variables to be set based on the connection's remote IP address. The Courier mail server's ESMTPD server understands the following environment variables, which may be set in the access file: BLOCK If this variable is set to a non-empty value, all mail will be rejected for this connection. The contents of the environment variable will be used as the error message. This is not the same as the couriertcpd access file setting that immediately drops the connection. The incoming connection is accepted, but every message will be rejected. FAXRELAYCLIENT Allow the client to send faxes via the courierfax(8)[3] module. Note When ESMTP authentication is enabled, a successful authentication automatically sets FAXRELAYCLIENT. RELAYCLIENT Allow the client to relay mail. Note When ESMTP authentication is enabled, a successful authentication automatically sets RELAYCLIENT. The following options are typically set globally in the esmtpd configuration file, but may be overriden in the smtpaccess configuration file: BOFHCHECKDNS Do not check the return address's domain in DNS if this environment variable is set to 0. The default value of BOFHCHECKDNS is 1. Note Turning off the DNS check disables a number of options in the bofh configuration file. See courier(8)[4] for more information. BOFHCHECKHELO Set this variable to 1 to check the hostname argument to the ESMTP HELO/EHLO command, as follows: o A hostname that's actually an IP address, and is the same as the connecting ESMTP client's IP address, is valid. o Otherwise hostname should be a valid DNS name with MX and/or A records, with at least one record matching the connecting ESMTP client's IP address. o An ESMTP client with relaying privileges (either due to RELAYCLIENT explicitly set, or if it succesfully authenticates) may use anything for an EHLO/HELO. The EHLO/HELO argument coming from an authenticated/relaying client is not checked. BOFHNOEXPN Disable the EXPN command if this environment variable is set to 1. BOFHNOVRFY Disable the VRFY command if this environment variable is set to 1. Other useful environment variables are listed in the submit(8)[5] manual page. SEE ALSO
esmtpd(8)[6], couriertcpd(8)[1], submit(8)[5]. AUTHOR
Sam Varshavchik Author NOTES
1. couriertcpd(8) [set $man.base.url.for.relative.links]/couriertcpd.html 2. RFC 2476 http://www.rfc-editor.org/rfc/rfc2476.txt 3. courierfax(8) [set $man.base.url.for.relative.links]/courierfax.html 4. courier(8) [set $man.base.url.for.relative.links]/courier.html 5. submit(8) [set $man.base.url.for.relative.links]/submit.html 6. esmtpd(8) [set $man.base.url.for.relative.links]/esmtpd.html Courier Mail Server 08/30/2011 MAKESMTPACCESS, MAKE(8)
All times are GMT -4. The time now is 08:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy