08-26-2010
I am bumping this because I now need to set this up in production. Can someone help me? I've tried searching, but somewhat not fully understanding, Do I need to work with remote host support to allow our box to connect to them?
*MOD* maybe move this to AIX forum? Thanks
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Can someone explain the difference between the two. Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies
2. UNIX for Advanced & Expert Users
I need to make an SSL FTP connection from my Unix machine to an SSL FTP server. I've found lots of SSL-capable FTP clients for windows machines, but can't seem to find any for Unix (HP-UX 11i, to be specific).
I found, and have tried a package called tlswrap, but that is not working.
Anybody... (2 Replies)
Discussion started by: denverd0n
2 Replies
3. Shell Programming and Scripting
Hi,
I want to automate FTP. I have a fair idea that this can be done using expect scripting. But I dont how to do it. Please, can anyone give me an example of how to do it in Unix.
Thanks in advance (2 Replies)
Discussion started by: sendhilmani123
2 Replies
4. UNIX for Advanced & Expert Users
#!/bin/sh
HOST=HOST_IP
USER=$USER
PASSWD=$PASSWD
FILE="*.htm"
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
get $FILE
quit
END_SCRIPT
exit 0
Is there any way to display appropriate error message if the file is not found on the server...... (2 Replies)
Discussion started by: bishweshwar
2 Replies
5. Shell Programming and Scripting
Hi,
I want to FTP can some one help me how do I do this manually from unix command line
Thanks, (2 Replies)
Discussion started by: sridatos
2 Replies
6. Shell Programming and Scripting
I'm writing a script which needs to run under an 'automation' account and there is already a .netrc machine definition for the server I need to connect to.
If I create a new machine entry in the .netrc with a different account this will, of course, be ignored and the ftp session will connect to... (3 Replies)
Discussion started by: DeepakS
3 Replies
7. UNIX for Dummies Questions & Answers
Hi ,
I want to pull files from ftp monthly once . The files in ftp has a something like 292_fileto_pull and next month it will be 293_fileto_pull for each month the number keeps increasing. i thought in my script if i can use date and increment the number by it
mget *_292_fileto_pull
i... (2 Replies)
Discussion started by: vikatakavi
2 Replies
8. UNIX for Dummies Questions & Answers
Here are the essentials:
un: myuser
pw: mypasswd
site: sftp.somesite.com
port: 990
type: FTPS
enc: FTP over implicit TLS
program used:
Curl 7.1.x on Hpux 11.31
I would like to "put" 1 file on there server.
Here is my syntax, what am I doing wrong?
curl -3 -v --cacert... (5 Replies)
Discussion started by: olyanderson
5 Replies
9. UNIX for Advanced & Expert Users
Here are the essentials:
un: myuser
pw: mypasswd
site: sftp.somesite.com
port: 990
type: FTPS
enc: FTP over implicit TLS
program used:
Curl 7.1.x on Hpux 11.31
I would like to "put" 1 file on there server.
Here is my syntax, what am I doing wrong?
curl -3 -v --cacert... (4 Replies)
Discussion started by: olyanderson
4 Replies
TFTP(1) BSD General Commands Manual TFTP(1)
NAME
tftp -- trivial file transfer program
SYNOPSIS
tftp [host]
DESCRIPTION
Tftp is the user interface to the Internet TFTP (Trivial File Transfer Protocol), which allows users to transfer files to and from a remote
machine. The remote host may be specified on the command line, in which case tftp uses host as the default host for future transfers (see
the connect command below).
COMMANDS
Once tftp is running, it issues the prompt and recognizes the following commands:
? command-name ...
Print help information.
ascii Shorthand for "mode ascii"
binary Shorthand for "mode binary"
connect host-name [port]
Set the host (and optionally port) for transfers. Note that the TFTP protocol, unlike the FTP protocol, does not maintain connec-
tions betwen transfers; thus, the connect command does not actually create a connection, but merely remembers what host is to be
used for transfers. You do not have to use the connect command; the remote host can be specified as part of the get or put com-
mands.
get filename
get remotename localname
get file1 file2 ... fileN
Get a file or set of files from the specified sources. Source can be in one of two forms: a filename on the remote host, if the
host has already been specified, or a string of the form hosts:filename to specify both a host and filename at the same time. If
the latter form is used, the last hostname specified becomes the default for future transfers.
mode transfer-mode
Set the mode for transfers; transfer-mode may be one of ascii or binary. The default is ascii.
put file
put localfile remotefile
put file1 file2 ... fileN remote-directory
Put a file or set of files to the specified remote file or directory. The destination can be in one of two forms: a filename on the
remote host, if the host has already been specified, or a string of the form hosts:filename to specify both a host and filename at
the same time. If the latter form is used, the hostname specified becomes the default for future transfers. If the remote-direc-
tory form is used, the remote host is assumed to be a UNIX machine.
quit Exit tftp. An end of file also exits.
rexmt retransmission-timeout
Set the per-packet retransmission timeout, in seconds.
status Show current status.
timeout total-transmission-timeout
Set the total transmission timeout, in seconds.
trace Toggle packet tracing.
verbose Toggle verbose mode.
BUGS
Because there is no user-login or validation within the TFTP protocol, the remote site will probably have some sort of file-access restric-
tions in place. The exact methods are specific to each site and therefore difficult to document here.
HISTORY
The tftp command appeared in 4.3BSD.
Linux NetKit (0.17) August 15, 1999 Linux NetKit (0.17)