I'm a bit of a novice here, so please be patient if some of my questions have "obvious" answers. To this point I have been able to answer many of my questions through existing posts, but not with this one. Anyway...
Is there an existing script/library function that will convert an ftp directory listing to an html page? For various reasons I am unable to directly open the ftp directory in a web browser (I would be forced to use ftp://user:pass@host, but can not have the password shown in the address in the browser; IE is too stupid to ask for the password is I simply use ftp://user@host; and various other problems I won't go into...). I can use Net:FTP to get a directory listing from the FTP site, but now need to use that to generate an html page much like the one you would see when you open an ftp directory into a web browser normally (with links for each file and directory, etc.)
It seems like there should be something in place to do this already, since web browsers seem to do it just fine -- any suggestions?
Thanks.
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.