Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

atftp(1) [suse man page]

ATFTP(1)						      General Commands Manual							  ATFTP(1)

NAME
atftp - TFTP client (RFC1350). SYNOPSIS
atftp [options] [host [port]] DESCRIPTION
atftp can be used interactively or in batch mode to retrieve files from TFTP servers. When used interactively, a summary of the commands can be printed by typing 'help'. This TFTP client support all basic feature from RFC1350, RFC2347, RFC2348 and RFC2349. It also support multicast implementation of RFC2090 and mtftp as defined in the PXE specification. OPTIONS
This program supports both the usual GNU command line syntax, with long options starting with two dashes (`-') as well as short options. Some options are usable in batch mode only, they have no meaning when atftp is use interactively. A description of the options is included below. -g, --get Non interactive invocation only. Instruct atftp to get file. --mget Non interactive invocation only. Used to get file from a mtftp capable server. -p, --put Non interactive invocation only. Instruct atftp to put file. -l, --local-file Non interactive invocation only. The client side file name to read or write. Must be used in conjunction with --get or --put. -r, --remote-file Non interactive invocation only. The server side file name to get or put. Must be used in conjunction with --get or --put. --tftp-timeout <value> Number of seconds for timeout, client side. Default is 5 seconds. --option <"name value"> Set option "name" to "value". This command support exactly the same arguments as the interactive one. For example, use: --option blksize 1428 to configure block size. --mtftp <"name value"> Set mtftp possible options. Accept the same options as the interactive mtftp command. For example, use: --mtftp client-port 76 to configure client side port to use. --no-source-port-checking See atftpd's man page. --verbose Instruct atftp to be verbose. It will print more information about what's going on. --trace This is useful for debugging purpose to display all packet going to and from the network. -V, --version Print version. -h, --help Print a summary of command line arguments. AUTHOR
This manual page was written by Remi Lefebvre <remi@debian.org> and Jean-Pierre Lefebvre <helix@step.polymtl.ca>. December 27, 2000 ATFTP(1)

Check Out this Related Man Page

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)
Man Page