Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The out put that it produces looks like this error is . put file output is Net::TFTP::IO=GLOB(0x8064d1c). So while everything seems to be working ok, here are my 2 questions: 1. Why doesn't Net::TFTP report back when the file is already present on the tftp server. It doesn't overwrite it if it is. 2. How can I get it to move the file to a directory instead of just to the root. I know thatuse Net::TFTP; my $tftp; my $err; my $putfile; $tftp = Net::TFTP->new("server.com", BlockSize => 1024); $tftp->binary; $putfile = $tftp->put("./test.log"); #$tftp->quit; $err = $tftp->error; print ("error is $err.\n"); print ($@."\n"); print ("put file output is $putfile.\n");
supports REMOTE_FILE, but apparently not something like remote path. Thanks for the help.$putfile = $tftp->put("./test.log");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::TFTP is stumbling me up
by bunnyman (Hermit) on Sep 18, 2003 at 21:24 UTC | |
|
Re: Net::TFTP is stumbling me up
by vek (Prior) on Sep 18, 2003 at 23:35 UTC |