Quote:
Originally Posted by
Joelly
I need to automate an FTP server to Server.
[...]
What would be the best command in AIX to do this?
Would it be a big surprise for you when i answer "ftp"? ;-))
What you need is a ftp server (a running process called "ftpd") on the machine
not initiating the process. If you use the AIX system to initiate the transfer you need the "ftp" command (that's the client part of ftp) on it and the "ftpd" on OSX. If you want to use the OSX system to pull the data off the the AIX system it would be the other way round.
I suggest you read the man page of "ftp" ("man ftp") and especially the description of the ".netrc" file there. You will find everything you need there.
I would like to suggest you rethink your methods, though. "ftp" is - like telnet - a protocol built with little to no security in mind. Passwords, for instance, are transmitted in plain text over the network and can be read by everybody with a packet sniffer. If this (and several similar considerations) doesn't matter in your case go ahead. If this indeed poses a problem for you you might consider using "scp" or "sftp" instead.
I hope this helps.
bakunin