Home > Archive > PERL Programming > January 2006 > open remote file without modules
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
open remote file without modules
|
|
|
| Any ideas how to open a remote file (image to be exact) without any
modules involved (like LWP)?
| |
| Paul Lalli 2006-01-10, 4:03 am |
| mkc wrote:
> Any ideas how to open a remote file (image to be exact) without any
> modules involved (like LWP)?
1) Define "remote"
2) Why?
Paul Lalli
| |
| Jim Gibson 2006-01-10, 4:03 am |
| In article <1136397821.662727.27270@g47g2000cwa.googlegroups.com>, mkc
<michal.wronowski@gmail.com> wrote:
> Any ideas how to open a remote file (image to be exact) without any
> modules involved (like LWP)?
Is the remote system on which the file is stored running a web server
or any other type of file sharing service such as NFS, FTP, SMB, or
SSH?
If it is running a web server, then you can open a socket to the system
on port 80, send an appropriate GET command, and read the response.
However, it might get a little tricky to parse the reponse since it
will contain binary data.
Can you explain why you don't want to use a module?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
| |
|
| since this is my study excercise to solve the problem without using
modules :|
i need to read some rfcs i suppose, thank you
|
|
|
|
|