jlahowetz has asked for the wisdom of the Perl Monks concerning the following question:
-------------------------------------------- SERVER CODE -------------------------------------------- use strict; use Net::FileShare; my ($fh) = Net::FileShare->new( _send_only => 1, _directory => 'C:\Documents and Settings\deadp +ickle\Desktop\UAV', _debug => 1); $fh->server_connection; --------------------------------------------- CLIENT CODE --------------------------------------------- use strict; use Net::FileShare; my ($fh) = Net::FileShare->new( _directory => 'C:\Documents and Settings\deadp +ickle\Desktop'); while ( -e 'C:\Documents and Settings\deadpickle\Desktop\UAVuavpositio +n.txt') { $fh->client_automated("localhost","3000","get","uavposition.txt" +); sleep 5; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::Fileshare Server/Client closing
by Khen1950fx (Canon) on Sep 08, 2006 at 11:52 UTC |