merc ver 6.7.1 on hpux 11i
From what I read on netrc you have to be sure $HOME is set.
I modified hostnames/ips/emails for sec reasons, but here is the output from command line, and mercator. It's simply not picking up the .netrc file. I have a default statement for all ftps not in the list that it does not pick up.
Commandline FTP:
mercator

urhost# ftp -tv 100.100.100.100
Connected to 100.100.100.100.
220 ftp.theftpserver.com FTP server ready.
331 Password required for xferacct.
230- NOTICE: This is a private FTP server. AUTHORIZED USERS ONLY!!!
230-
230- All transactions are logged.
230- If you do not like this policy, LOG OFF NOW!
230- ------------
230-
230- If your FTP client crashes or hangs shortly after login please try
230- using a dash (-) as the first character of your password. This will
230- turn off the informational messages that may be confusing your FTP
230- client.
230-
230- If you experience any problems or have suggestions,
230- please contact : xxxxxxxxxxx@xxxxxxx.com
230-
230- You are 3i7e9a5l.ourdomain.com ! It is Thu Jul 15 11:39:07 2004 local ti.
230-
230 User xferacct logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
.netrc
account line for 100.100.100.100
machine 100.100.100.100 login xferacct password xferpass
default login anonymous password ediemailuser@ourdomain.com
ftp trace for 100.100.100.100
Mercator FTP Adapter, Version 6.7(306_1tip_230903)
Copyright © 1998-2000, TSI International Software, DBA Mercator Software
Built for HPUX11 on May 6 2004 at 14:48:38 by rbrooks.
Retry Count is 10. Retry Interval is 5. OnFailure is Rollback.
Fetch Unit is 0. Card Mode is Integral.
Run Started at 09:33:21.947 on 07/15/04.
Options used: trace,verbose,name,url
URL FTP://100.100.100.100/get_CHR_hourly.lis;type=A will be used.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #1 failed, will retry after 5 second delay.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #2 failed, will retry after 5 second delay.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #3 failed, will retry after 5 second delay.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #4 failed, will retry after 5 second delay.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #5 failed, will retry after 5 second delay.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #6 failed, will retry after 5 second delay.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #7 failed, will retry after 5 second delay.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #8 failed, will retry after 5 second delay.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #9 failed, will retry after 5 second delay.
Sockets Client ID 1 enabled.
URL user: 'anonymous'.
URL pass: '**************'.
URL host: '100.100.100.100'.
URL port: '21'.
URL path: 'get_CHR_hourly.lis'.
URL type: 'A'.
Using ftp: protocol.
Server host is '100.100.100.100'.
Using port '21' for the connection.
Connecting to '100.100.100.100'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 ftp.theftpserver.com FTP server ready. (S)
<USER anonymous
>530 Anonymous FTP access denied. (F)
<REIN
>502 REIN command not implemented. (F)
<QUIT
>221 Goodbye. (S)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.
Attempt #10 failed, no more retries allowed.
Run Terminated at 09:34:16.305 on 07/15/04.