I am trying to FTP from AIX server to and AS400 and have having difficulty with the syntax.
Can anybody see anything funny here .
Details
AIX -server ff_dbase_srv_03
fpirl2 - host name of AS400
Seems to be picking up root all the time as the userid . No entries in the /.netrc file at all .
ff_dbase_srv_04>ftp -i <<_EOF
> open fpirl2
> user itsograg
> password dublin25
> cd qgpl
> bye
> _EOF
Name (fpirl2:root): User name not valid in USER subcommand.
Login failed.
?Invalid command
You must first log on with subcommands USER and PASS.
ff_dbase_srv_04>ftp -i fpirl2 <<_EOF_^Juser itsograg^Jpassword dublin25^Jcd q>
Name (fpirl2:root): User name not valid in USER subcommand.
Login failed.
?Invalid command
You must first log on with subcommands USER and PASS.
ff_dbase_srv_04>
ff_dbase_srv_04>ftp -i <<_EOF^Jopen fpirl2^Juser itsograg^Jpassword dublin25^>
ff_dbase_srv_04>ftp -iv fpirl2 <<_EOF_^Juser itsograg^Jpassword dublin25^Jcd >
Connected to fpirl2.
220-QTCP at FPIRL2.
220 Connection will close if idle more than 15 minutes.
Name (fpirl2:root): 501 User name not valid in USER subcommand.
Login failed.
?Invalid command
530 You must first log on with subcommands USER and PASS.
221 QUIT subcommand received.
ff_dbase_srv_04>
Anybody seen this ??
Gerry
Can anybody see anything funny here .
Details
AIX -server ff_dbase_srv_03
fpirl2 - host name of AS400
Seems to be picking up root all the time as the userid . No entries in the /.netrc file at all .
ff_dbase_srv_04>ftp -i <<_EOF
> open fpirl2
> user itsograg
> password dublin25
> cd qgpl
> bye
> _EOF
Name (fpirl2:root): User name not valid in USER subcommand.
Login failed.
?Invalid command
You must first log on with subcommands USER and PASS.
ff_dbase_srv_04>ftp -i fpirl2 <<_EOF_^Juser itsograg^Jpassword dublin25^Jcd q>
Name (fpirl2:root): User name not valid in USER subcommand.
Login failed.
?Invalid command
You must first log on with subcommands USER and PASS.
ff_dbase_srv_04>
ff_dbase_srv_04>ftp -i <<_EOF^Jopen fpirl2^Juser itsograg^Jpassword dublin25^>
ff_dbase_srv_04>ftp -iv fpirl2 <<_EOF_^Juser itsograg^Jpassword dublin25^Jcd >
Connected to fpirl2.
220-QTCP at FPIRL2.
220 Connection will close if idle more than 15 minutes.
Name (fpirl2:root): 501 User name not valid in USER subcommand.
Login failed.
?Invalid command
530 You must first log on with subcommands USER and PASS.
221 QUIT subcommand received.
ff_dbase_srv_04>
Anybody seen this ??
Gerry