Lord Rau has asked for the wisdom of the Perl Monks concerning the following question:

Are there any available modules for transfer files over a network, without using HTTP or FTP? Can somebody make some recomendations, please!?

Replies are listed 'Best First'.
Re: Network File transfers
by btrott (Parson) on Apr 13, 2000 at 08:37 UTC
    I'm not sure if there are any modules, but you can certainly roll your own solution. Just write some simple client and server scripts that use IO::Socket. The server listens for clients looking to transfer files to it; the clients connect, read from the filesystem, and send the data over the socket connection; the server reads the data from the clients and dumps it out locally.

    Look at my answer to How do I send a file through a Socket Connection ? for a simple client and server.

Re: Network File transfers
by chromatic (Archbishop) on Apr 13, 2000 at 07:14 UTC
    IO::Socket is one... if you read perlman:perlipc you'll see how you can open a socket. It implements filehandle-type behavior, so you can print and <FILEHANDLE> on it.