ftp -ivn << eof open <ip address> user <username> <password> binary get file1 bye eof cat file1 file2 > outfile