10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
How to use .netrc file and how to create and how can I use it with my script where I need to upload the file to ftp server.I can do it ftp script but my requirement is to us only .netrc file.
I tried this way
machine 172.00.xx.49
login svxxxx
password paxxxx
macdef init
... (0 Replies)
Discussion started by: anuragpgtgerman
0 Replies
3. AIX
Hello all,
I am using a .netrc to automatically access an ftp host. Here is the line I use...
machine 412.blank.com login nw\mylogin password *******
when I use this command...
ftp 412.blank.com
I get...
Connected to 412.blank.com.
220 server_7 FTP server (EMC-SNAS: 5.5.25.2)... (4 Replies)
Discussion started by: magikalpnoi
4 Replies
4. UNIX for Advanced & Expert Users
Hi friends,
Can we use the file .netrc for automating ftp from a perl script ?
and if so then how do i go about it ?
can i have a sample script for this ?
thanks in advance
Veera (6 Replies)
Discussion started by: sveera
6 Replies
5. UNIX for Dummies Questions & Answers
hello,
I am trying to write an automated script to transfer multiple files to another solaris 5.8 box. I am using the #! /bin/bash prompt and I am having trouble finding/creating the .netrc login file. I googled and the only info I got was that I should create/find it in my home directory. I went... (2 Replies)
Discussion started by: grandtheftander
2 Replies
6. Shell Programming and Scripting
hi,
I am using .netrc file WITH OUT encripting the password
Code in .netrc file:
-------------------
machine $SYSTEM NAME login FTFOA001 password 1Q2W3E4R
how to encript password in .netrc file.(i should not use "1Q2W3E4R" as password).
after encripting i should able to connect with... (1 Reply)
Discussion started by: getgopu25
1 Replies
7. Shell Programming and Scripting
Hi all,
Till now i am using .netrc file for auto-connection to connect to remote system. my shell script contains like below code
ex: ftp -i <remote system name>
from now i should NOT use .netrc file
how can i login automativally with out asking userid and pqssword.
note: i am working on... (1 Reply)
Discussion started by: getgopu25
1 Replies
8. UNIX for Dummies Questions & Answers
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
9. Shell Programming and Scripting
Hi, id like to ask a question about .netrc. Id like to have 2 entries for a particular machine, but with different ftp userid's ie
machine 172.19.8.26 login dcm password dcm
macdef job1
bin
hash
bye
machine 172.19.8.26 login ppp password ppp
macdef job2
bin
hash
bye
this code DOES... (8 Replies)
Discussion started by: hcclnoodles
8 Replies
10. UNIX for Advanced & Expert Users
Hi,
I do not want the plaintext password to appear in the netrc file. So I want to encrypt the password. Is there a way to encrypt the password and still make ftp to use the netrc ?
Thanks in advance.
-Gow:confused: (2 Replies)
Discussion started by: ggowrish
2 Replies