1834130 Members
2332 Online
110064 Solutions
New Discussion

ftp with user/domain

 
M.Thomas
Frequent Advisor

ftp with user/domain

i am trying to set up .netrc file

cat .netrc
machine 68.34.256.152
login qas\\oracle
password security


oracle is part of qas domain user. but this does not work. not sure what i am missing

Thanks

THOMAS
2 REPLIES 2
Mustafa Gulercan
Respected Contributor

Re: ftp with user/domain

Hi Thomas;

The syntax of record in the file should be
as follows:

machine login password

default login password


Each of the
tokens (the machine, login and password) must match exactly
and must be in lower case.

Each token must be separated by SPACE or
TAB characters.

example:

machine MYHP3K login MANAGER.SYS password USERPASS,ACCTPASS


Since unencrypted passwords in this file this does constitute
a major SECURITY RISK. If you decide to use NETRC files,highly recommended
using the ALTSEC command and limiting the use to only the creator of the file.


regards;
mustafa
Patrick Wallek
Honored Contributor

Re: ftp with user/domain

If a user is in a domain, like an active directory domain, then the username syntax is:

user@domain

In your case try:

login oracle@qas

and see if that works.