Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl to HTTP server

Status
Not open for further replies.

DoraC

Programmer
May 7, 2002
98
US
Hi,

While I've done a bit of Perl coding before, I must now put files to and get files from (simulate FTP) an HTTP server. Frankly, I have no idea how to proceed. I've Googled this, but don't really even know where to begin. Are there libraries (some sort of socket thing? IO::Socket?) that I can use?

I hate to ask such a general question, but I can't make it any more specific at this time. Any help greatly appreciated...

Thanks,
dora
 
You could start by explaining what you mean by "get and put files on an HTTP server". Is this something to be done by end users? Only you will use it to upload new/modified html pages? Remote or local? Networked computer or not? What other details can you think of that will make your general question as specific as possible?

 
Dora,
You will want to look at the LWP module. This simplifies all your http/ftp connections without you having to build the low layer protocol on top of IO::Socket. It should be installed on any modern version of Perl. Just google for lwpcook and you will get a ton of examples on using LWP.

Hope that helps.
 
Thanks Usige, I think your LWP suggestion is going to work for me - that was the sort of tip/pointer I needed...!

:)
dora
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top