Sponsored Content
Full Discussion: .netrc and ftp
Operating Systems AIX .netrc and ftp Post 302186558 by magikalpnoi on Thursday 17th of April 2008 01:58:05 PM
Old 04-17-2008
That's a no go. Still causes the same error...Any other suggestions?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

.netrc multiple ftp jobs to same machine

I have an ftp user, which has been setup to run ftp jobs to a specific machine (different jobs). for the first job i created .netrc in the ftp users home directory and added the appropriate commands machine FTPBOX01 login user1 password xxx macdef init etc etc get file bye I use the... (3 Replies)
Discussion started by: hcclnoodles
3 Replies

2. UNIX for Dummies Questions & Answers

Help in .netrc

Hi, I would like to ask if the .netrc file should really be stored/placed in the /home/<userid> directory or in the home directory indicated by the uinfo command? I am currently having problems with a .netrc file which is owned by a id which has it's home directory pointed to a... (2 Replies)
Discussion started by: edu_escandor
2 Replies

3. UNIX for Dummies Questions & Answers

.netrc and ftp issue

Ok guys (gals?) Im new here as a member, but have come here many times to find answers to questions. Have played with Unix (ATT Sys 5) and now Linux (RH)... I told myself I wanst going to ask for help on the current project..but.. I am down to what I think is the last issue: (and I KNOW the... (3 Replies)
Discussion started by: txdave
3 Replies

4. Shell Programming and Scripting

FTP/nmap/.netrc

So... I'm trying to script and FTP Backup of some files from openVMS Alpha machine to a Unixware 7 machine. I decided to use .netrc to do all the FTP actions however when I send the nmap command. It pretty much gets ignored while even other things such "ascii", "case" etc.. get respected... (0 Replies)
Discussion started by: thesubmitter
0 Replies

5. Shell Programming and Scripting

Automated FTP script using .netrc to multiple FTP servers

Hi all, I'm using the following script to automated ftp files to 1 ftp servers host=192.168.0.1 /usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp open $host bin cd ${directory} put $files quit ftp and the .netrc file contain machine 192.168.0.1 login abc... (4 Replies)
Discussion started by: varu0612
4 Replies

6. AIX

.netrc and Automatic ftp problem

Guy's We have two AIX servers Server1 and Server2 and we have created user1 in Server1 and Server2 ... and .netrc file was confiured under /home/user1 with the below line machine server2 login user1 password abc1234567 -rw------- 1 user1 staff 159 Sep 28 2004 .netrc ... (7 Replies)
Discussion started by: ITHelper
7 Replies

7. Shell Programming and Scripting

Automating ftp without .netrc

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

8. UNIX for Dummies Questions & Answers

Performing Batch ftp without .netrc

How can I supply the userID/password when executing FTP in the batch mode? Using .netrc is not an option (prohibited per Corporate Policy). Thank you in advance. (1 Reply)
Discussion started by: compaamat
1 Replies

9. Shell Programming and Scripting

Doubt in .netrc file for ftp login

Hi, i have a doubt. i am using .netrc file for login to a ftp server. ftp abc.ftp.com suppose i have 2 userid and password for the same server as shown below. which one is it going to read from the .netrc file? cat .netrc machine abc.ftp.com login admin1 password pass1 machine... (13 Replies)
Discussion started by: Little
13 Replies

10. Shell Programming and Scripting

Specifying port for ftp when using .netrc

Hi, does anybody know if it is possible to specify a particular port for an FTP address within a .netrc file ? i have a script which opens the ftp to a machine and then instigates .netrc to login etc.. within .netrc i need it to go to a particular port to enable me to automate the dropping of... (2 Replies)
Discussion started by: forefather1977
2 Replies
LAM-HELPFILE(5)                                                  LAM FILE FORMATS                                                  LAM-HELPFILE(5)

NAME
lam-helpfile - LAM help message file DESCRIPTION
The lam-helpfile provides detailed error messages and suggestions for help on how to fix common problems. In many places in LAM, when an error occurs, this help file is consulted to display a detailed message of what the error was and, when possible, suggestions on how to fix the problem. It consists of much of the information from the LAM FAQ (particularly in dealing with getting LAM up and running) At present, the following LAM tools use this help file (it is expected that more will use it in future releases. If you have suggestions for locations where more detailed error messages would be helpful, please let us know): hboot lamboot lamexec lamhalt lamnodes lamwipe mpicc (hcc) mpiCC (hcp) mpif77 (hf77) mpirun recon tkill tping STRUCTURE AND SYNTAX
The help file is multiple blocks of help text separated by single line delimiters. The delimiter lines are of the format: -*-programname:topicname-*- Where programname is the general name of the program (or group of programs) that this help message applies to, and topicname is the spe- cific topic that this message applies two. The special keyword ALL can be used for either the programname or the topicname in some cases; this is usually a "wildcard" value where little specific information is available. Within the block of the message, lines that begin with a "#" are treated as comments; they are not printed out. Three special escape sequences can be used within the help message: %N Where N is a number from 1 to the number of arguments that the help message is invoked with. The "%N" string is replaced with the value of the Nth argument from the argument list. The arguments are passed from the LAM binaries themselves; they cannot be edited. The comments in the default LAM help file explain how many arguments each message is invoked with, and what each argument is. %perror Shows the result of the Unix perror(3) function. %terror Shows the result of the LAM terror() function, which is essentially a wrapper around the Unix perror(3) function. LOCATION OF HELP FILE
The exact location of the help file is configurable. This allows system administrators and/or users to customize the help file for their particular environment. When LAM attempts to print an error message from the help file, it looks for the help file in the following locations (in order): $HOME/lam-helpfile $HOME/lam-7.1.4-helpfile $HOME/etc/lam-helpfile $HOME/etc/lam-7.1.4-helpfile $LAMHELPDIR/lam-helpfile $LAMHELPDIR/lam-7.1.4-helpfile $LAMHOME/etc/lam-helpfile $LAMHOME/etc/lam-7.1.4-helpfile $TROLLIUSHOME/etc/lam-helpfile $TROLLIUSHOME/etc/lam-7.1.4-helpfile $SYSCONFDIR/lam-helpfile $SYSCONFDIR/lam-7.1.4-helpfile Note the variable $LAMHELPDIR; this variable can be set according to platform, for example, to provide operating system-specific informa- tion, or information specific to particular groups of machines, etc. It can also be set to provide help messages in different languages. $SYSCONFIDIR is typically $prefix/etc, where $prefix is the location to where LAM was installed; it was the option supplied to ./configure when LAM was built (or /usr/local/lam-7.1.4, by default). However, note that the value of $SYSCONFDIR can be overridden when LAM is con- figured with the --sysconfdir switch. EXAMPLES
The following is an example customization of the help for the hboot and lamboot programs, when the user supplies a host file name that is not found. -*-boot:open-hostfile-*- %1 could not open the hostfile "%2" for the following reason: %perror Things to check: - ensure that the file exists try "ls -l %2" - ensure that you have read permissions on the file try "cat %2" You may not need to specify a host file at all; the system administrators have defined the all of Beowulf cluster host names in the LAM default host name list. If you wish to use all of the Beowulf nodes, simply execute: %1 -v If you have any problems with LAM, please send mail to: lam-admin@your.domain.com FILES
$LAMHOME/etc/lam-7.1.4-helpfile default LAM help file SEE ALSO
hboot(1), lamboot(1), lamexec(1), lamhalt(1), lamnodes(1), lamwipe(1), mpicc(1), mpiCC(1), mpif77(1), mpirun(1), recon(1), tkill(1), tping(1), perror(3) LAM 7.1.4 July, 2007 LAM-HELPFILE(5)
All times are GMT -4. The time now is 09:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy