Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Transfer files (network)

by kvale (Monsignor)
on Feb 17, 2004 at 06:01 UTC ( #329520=note: print w/ replies, xml ) Need Help??

in reply to Transfer files (network)

It seems to me that if you want to send a file from computer A to computer B, then B has to have some way of listening for a connection and receiving the file. This is what a server does, so you will need to implement some sort of server to do this.

FTP is the most common sort of file transfer protocol, so I would recommend using it. If you want to make setting up an FTP server more fun, try Net::FTPServer.


Comment on Re: Transfer files (network)
Replies are listed 'Best First'.
Re: Re: Transfer files (network)
by AcidHawk (Vicar) on Feb 17, 2004 at 09:12 UTC

    There is no Net::FTPServer module for Windows. So if FireBird34 is running on a MS platform s/he will not be able to use it easily.

    Have a look at creating a listening socket on the server and a client piece that connects to that socket.

    Below is some code I found (here at PerlMonks I think) that sets up a socket and transfers a file from the client.

Re: Re: Transfer files (network)
by FireBird34 (Pilgrim) on Feb 17, 2004 at 06:32 UTC
    LoL! What doesn't CPAN have? I'll look into this! Thanks! (I have a simple listening 'server' on each computer for information, but nothing more than a simple socket using IO::Socket::INET heh)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://329520]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-11-29 16:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls