English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I need to access a mirror of a bioinformatics database hosted on my school which uses a simple web-based form. But I have to do this 3000 times unless I can automate the whole process. Can someone provide pointers to an easy way to automate this.
I think I will have an input.txt containing 3000 lines with the line j containing the values var[j][1], var[j][2], .., var[j][n] (I don't know what n is yet, but may just be 1) where these are the n variables that the web-query would need.

I know some C and some shell scripting, but I would like the easiest and "for-dummies" suggestion.

2006-12-13 09:45:42 · 2 answers · asked by Anonymous in Computers & Internet Software

2 answers

What playform do you have available? On a Unix box, you could create a simple script that builds the input form and then submits it to the web server using telnet on port 80 (or whatever the port is). You could also write a C program to do it.

Basically, each time through the loop, build the file containing the form data, submit it to the server, then keep going until all of your input records have been read.

An example o fusing the telnet... (assuming at the unix shell)...

$ telnet some.host.name.com 80 <<==eof==
get /oradoc/plsql.pdf
==eof==

The above example will fetch the plsql.pdf document from the web server's document root. Now you can reverse this by building a form and redirecting the get above with the form.

2006-12-16 05:56:59 · answer #1 · answered by BigRez 6 · 0 0

This probable signifies that they have got despatched the e-mail by using a form (like the single you used to form out your question) on a internet website. some web content have kinds like of their "contact us" section or a "tell your pals" section. those kinds look the picture of favourite ones yet really of sending some thing to the internet website they deliver the type in an digital mail to someone.

2016-10-18 06:13:16 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers