May your Wisdoms considerate themselves as deeply greeted.
I am a desperate newbie in the (most fascinating) world of Perl, so I need rather extensive help on this point.
I spend the last few weeks developping a project that parses a file in a set of SQL databases, using VisualBasic. The result is an .exe programm that I can run in a command-line style with several parameters.
Now, the next step is to create a Web-interface, using Perl, that allow users to run this programm from everywhere. The server I will use runs on NT with Perl 5.6.1 for Windows.
And here comes my problem: I need to prompt the users for the input file of my programm (using an HTML form). Logically enough, I can't read this file from its current location (and the <input type="file" name="inputfile"> HTML tag provides a local filepath that is of little use), so I need to upload the file first.
The problem is, I have no hint on how to do that. I have come across the LWP module that should solve my case, but I can't see how to use it to upload the client-side file on my server, so that my programm can use it... Can you please describe shortly the several steps necessary for this?
Thank you.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.