cURL / Mailing Lists / curl-library / Single Mail

curl-library

automated filling of a website problem

From: Bernhard K. <lord_bk_at_hotmail.com>
Date: Wed, 14 Nov 2007 10:37:03 +0100

hi,

i have some problems using curl to fill into a webform:

i tried with
curl -F "clef=1" -F "prot=PDBFILE" -F "filename=/home/bknapp/workspace/peptX/pdbFiles/substitutionTests/HLA_A2/pMHC/backbones/pMHC_1b0g.pdb.backbone.pdb" -F "PDBid=" -F "seqFile=" -F "seqItself=" http://bioserv.rpbs.jussieu.fr/cgi-bin/SCit

but the result is only

 SCit

Empty PDB instance

if i use the website manually via the browser it works fine (same filename).
i read trough some posts in this mailing list and came over the solution to:

"save the HTML locally and change the method to GET and then submit the
     form using your browser. The address field of your browser will then
     contain the data you want to include in your -d data. "

i did that and my new command was :

curl -d "clef=1&prot=PDBFILE&filename=/home/bknapp/workspace/peptX/pdbFiles/substitutionTests/HLA_A2/pMHC/backbones/pMHC_1b0g.pdb.backbone.pdb&PDBid=&seqFile=&seqItself=" http://bioserv.rpbs.jussieu.fr/cgi-bin/SCit

but this resulted in:

 SCit

Content-type: text/html
    
    
    Sorry:
 Possibly no data or incorrect data
    Please check the form fields.
    
    
    

can someone help me to somehow use the website http://bioserv.rpbs.jussieu.fr/cgi-bin/SCit with curl. i do not know what i am doing wrong ...

thx
lordy

_________________________________________________________________
Jetzt 30 Gratis-Emoticons für Windows Live Messenger downloaden!
http://www.livemessenger-emoticons.com/de-at/
Received on 2007-11-14