I need to transfer a tar.gz file from RHEL5 to IBM AIX... The IBM AIX does not have scp and I dont think, I could install, as I am just using the system for temporary purposes. Is there an alternative for that.. In most of the forums I read, they talk about ftp, but I cannot ftp from the AIX server to Linux system either... Do I need to have some kinda thing running on my linux system for the AIX server to ftp? I am ftping the IPADDR, like ftp . If there are any other alternative please let me know. Thanks.
-
3rsync - www-03.ibm.com/systems/power/software/aix/linux/toolbox/…– ajrealJul 24, 2012 at 19:13
-
Do you connect remotely to the IBM AIX machine? If yes, how? If you are physically moving in from of it, just move also a physical storage (e.g. an USB key).– Basile StarynkevitchJul 24, 2012 at 23:44
3 Answers
You can transfer files with netcat. It usually is present on most nix like systems.
On the system with file you need to execute
cat /path/to/file | nc -l -p 7878
On the receiver:
nc remotehost -p 7878 > received_file
To be able to ftp into the Linux server, you need an FTP server running on it.
You can also try transferring over HTTP if you have a HTTP client on IBM AIX. You will have to run a HTTP server on Linux and serve the file you want to download.
Or just over netcat.
Bear in mind that all these ways (unlike rsync) can't guarantee file integrity, so I suggest to check it manually after you succeed to transfer the file.
Create an NFS mount between the two.
-
1Can you please expand your answer and explain how the OP would go about doing that, what the benefits are, et cetera?– slhckJul 26, 2012 at 12:17
-
^Actually I created the NFS mount and it worked..... Thanks!!! Jul 26, 2012 at 14:03
-
-
@awojo The reason we are asking for you to expand on the answer is because it will help others who come to this site and don't know how to do that specifically, sending them to other sites for "simple" info Aug 7, 2012 at 18:14