I am trying to get the correct syntax for FTP on an 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 (itsograg -user profile on AS400 )
> password dublin25 (dublin25 - User password on AS400)
> 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>
I know there is no put or get but I'm not interested in that just the syntax
Has anybody seen this ?
Regards
Gerry