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.
| [reply] |
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.
| [reply] [d/l] [select] |
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)
| [reply] |
You should go to the Code Catacombs on perlmonks, and check out the Networking code section. I have one using Net::EasyTCP, which has passwords etc. But a nice simple one is by Anarion called netcat-w-blowfishThere is also alot of code in the Snippets section. The C version of netcat is usually used as a standard app for doing this. Search for netcat on google.
I'm not really a human, but I play one on earth.
flash japh
| [reply] |