10 More Discussions You Might Find Interesting
1. Solaris
I am new to Solaris 10 and am having an issue with a Solaris 10 system, which has had the TFTP Enabled and the TFTP "root" directory created with the desired files loaded into it. What I need is to review the log for the TFTP connections or attempted connections to try and verify the get/put... (1 Reply)
Discussion started by: campbelldw
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I'm very new to Linux but have been muddling my way through quite happily until recently.
I'm trying to write a program in C++ which starts a new process using the execl command. I am trying to run the tftp process as follows:
char ip_addr = "...";
if (execl("usr/bin/tftp", "tftp",... (2 Replies)
Discussion started by: JoC
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I'm trying to run the tftp client on tsch shell and I get command not found, but on bash tftp ran fine, can anyone help me on how to run it on tsch?
Thanks (1 Reply)
Discussion started by: wsn
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
I am trying to do a network install of Solaris 10 08_07 onto a Sunfire T2000. I have configured all my network-boot-arguments on the client server (named sundb1). I have installed my image of Solaris on my install server (sun1).
But when I try to install using
# boot net -s
I get the... (0 Replies)
Discussion started by: Bobby76
0 Replies
5. UNIX for Dummies Questions & Answers
ive been trying to enable a tftp service on a unix box
using the command atftpd --daemon
but when i scan the open ports using nmap it doesnt show that port 21 as up
does anyone know the reason...
ive tried /etc/init.d/atftpd start , it didnt work
if i type atftpd by it self it gives me a set... (2 Replies)
Discussion started by: ratamahatta
2 Replies
6. UNIX for Dummies Questions & Answers
Is it possible to copy files between two computers with TFTP.And how? (1 Reply)
Discussion started by: bericica
1 Replies
7. Linux
RH 7.2
I am attempting to get tftp working but I'm having a problem. On the server, xinetd has libwrap options compiled in. I have a deny all policy in my hosts.deny file and the following entries in my hosts.allow file:
in.tftpd:.10.151.2.6
But...when I attempt to tftp from... (1 Reply)
Discussion started by: jalburger
1 Replies
8. IP Networking
I have been hearing that this protocol offers faster throughput rate than FTP, is it true? If so, are there any compromise in reliability on data being sent? How do I set up a TFTP transfer instead of a FTP to download?
Thanks (3 Replies)
Discussion started by: ho_k
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Setting up print queue, using SMIT on AIX
And I have an option saying do I wish to make this a BOOTP/TFTP server. What exactly does this do?
Thanks (3 Replies)
Discussion started by: maverick
3 Replies
10. UNIX for Dummies Questions & Answers
ok, I configured inetd.conf so that the tftp string
is not commented out, but I cannot get the process to start.
I'm running Solaris 5.8 and need some help.
Cabletron said that it's process is 3485, i tried to kill it, it's the wrong process. I started inetd again and still can't kill it.
i... (15 Replies)
Discussion started by: veitcha
15 Replies
TFTP(3pm) User Contributed Perl Documentation TFTP(3pm)
NAME
Net::TFTP - TFTP Client class
SYNOPSIS
use Net::TFTP;
$tftp = Net::TFTP->new("some.host.name", BlockSize => 1024);
$tftp->ascii;
$tftp->get("remotefile", "localfile");
$tftp->get("remotefile", *STDOUT);
$fh = $tftp->get("remotefile");
$tftp->binary;
$tftp->put("localfile", "remotefile");
$tftp->put(*STDOUT, "remotefile");
$fh = $tftp->put("remotefile");
$err = $tftp->error
DESCRIPTION
"Net::TFTP" is a class implementing a simple Trivial File Transfer Protocol client in Perl as described in RFC1350. "Net::TFTP" also
supports the TFTP Option Extension (as described in RFC2347), with the following options
RFC2348 Blocksize Option
CONSTRUCTOR
new ( [ HOST ] [, OPTIONS ])
Create a new Net::TFTP object where HOST is the default host to connect to and OPTIONS are the default transfer options. Valid options
are
Option Description Default
------ ----------- -------
Timeout Timeout in seconds before retry 5
Retries Maximum number of retries 5
Port Port to send data to 69
Mode Mode to transfer data in, "octet" or "netascii" "netascii"
BlockSize Negotiate size of blocks to use in the transfer 512
IpMode Indicates whether to operate in IPv6 mode "v4"
METHODS
get ( REMOTE_FILE [, LOCAL ] [, OPTIONS ])
Get REMOTE_FILE from the server. OPTIONS can be any that are accepted by "new" plus the following
Host Override default host
If the LOCAL option is missing the get will return a filehandle. This filehandle must be read ASAP as the server will otherwise
timeout.
If the LOCAL option is given then it can be a file name or a reference. If it is a reference it is assumed to be a reference that is
valid as a filehandle. "get" will return true if the transfer is successful and undef otherwise.
Valid filehandles are
o A sub-class of IO::Handle
o A tied filehandle
o A GLOB reference (eg "*STDOUT")
put ( [ LOCAL, ] REMOTE_FILE [, OPTIONS])
Put a file to the server as REMOTE_FILE. OPTIONS can be any that are accepted by "new" plus the following
Host Override default host
If the LOCAL option is missing the put will return a filehandle. This filehandle must be written to ASAP as the server will otherwise
timeout.
If the LOCAL option is given then it can be a file name or a reference. If it is a reference it is assumed to be a valid filehandle as
described above. "put" will return true if the transfer is successful and undef otherwise.
error
If there was an error then this method will return an error string.
host ( [ HOST ] )
timeout ( [ TIMEOUT ] )
port ( [ PORT ] )
mode ( [ MODE ] )
retries ( [ VALUE ] )
block_size ( [ VALUE ] )
debug ( [ VALUE ] )
Set or get the values for the various options. If an argument is passed then a new value is set for that option and the previous value
returned. If no value is passed then the current value is returned.
ip_mode ( [ VALUE ] )
Set or get which verion of IP to use ("v4" or "v6")
ascii
netascii
Set the transfer mode to "netascii"
binary
octet
Set the transfer mode to "octet"
AUTHOR
Graham Barr <gbarr@pobox.com>
COPYRIGHT
Copyright (c) 1998,2007 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
perl v5.10.1 2010-11-25 TFTP(3pm)