Transferring files from one AIX server to another AIX server in binary mode


 
Thread Tools Search this Thread
Operating Systems AIX Transferring files from one AIX server to another AIX server in binary mode
# 1  
Old 09-30-2009
Transferring files from one AIX server to another AIX server in binary mode

Hi,

I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that?

Thanks,
Rakesh
# 2  
Old 09-30-2009
The commands in the ftp-client are "as" for ASCII mode and "bi" for binary mode (the default).

But if both your systems are AIX systems you don't need any ASCII mode at all:

Between different system architectures (like UNIX on one hand and Windows on the other and mainframe computers on a third) the way ASCII text files are stored is different: for instance in Windows a line is separated from its following line by a CR/LF (carriage return/linefeed, 0x0D 0x0A) character sequence. In UNIX it is only a newline character (^M). This has to be converted when files are being transferred from UNIX to Windows or vice versa. Exactly this conversion is what ASCII mode does, nothing more, nothing less. Binary mode is just switching off this conversion for binary data which do not need such a translation.

Of course such a translation is also not needed between two systems of the same architecture.

I hope this helps.

bakunin
# 3  
Old 10-01-2009
Hi Bakunin,

Thanks for your reply.

I tried to FTP but I am having a problem.

I have logged into server 1, I typed ftp server2, but it's saying connection refused, could you help me what I need to do?


Regards,
Rakesh
# 4  
Old 10-01-2009
You could install "scp" from the openssh packages (also needs openssl), then use that to copy, which will guarantee binary format.
# 5  
Old 10-01-2009
This can have a lot of possible reasons but the following 2 are the most likely:

- server2 has no running ftp server
- a firewall in between prevents ftp communication

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to ssh from an AIX OS server to a Fabric OS server without password?

Hi I'd like to ssh from an AIX OS server ( v5.3) to a Fabric OS server ( v6.1.2 ) without password. I tried using dsa or rsa keys but it didn't work, the aix server still asked for the password. Somebody help, please :(:(:( (8 Replies)
Discussion started by: bobochacha29
8 Replies

2. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

3. UNIX for Dummies Questions & Answers

Transferring files from one linux server into another

Hello , I want to transfer files from one linux server into another , I got it working using SCP command , but I have to type in password for each and every file . All the remote severs have the same password , so is there a way that I can transfer all these files by typing my password only once ? (5 Replies)
Discussion started by: RaviTej
5 Replies

4. Shell Programming and Scripting

Transferring files from Unix to Windows server

Hi All, I have to establish as connectivity from Unix server(Solaris) to Windows machine and transfer files. We use public key Private key pair to authenticate from Unix to Unix connectivity to transfer the file. How to establish the sFTP connection from Unix to Windows and transfer the... (1 Reply)
Discussion started by: koti_rama
1 Replies

5. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

6. Shell Programming and Scripting

Problem while Transferring files to UNIX server

Hi When I m transferring my file to UNIX server using filezilla , after every line in a file ^M is shown. Because of this ^M I cannot execute my file/scripts Why so ??? Any suggestions... (7 Replies)
Discussion started by: dashing201
7 Replies

7. Shell Programming and Scripting

pull files from window server to aix box

Hi All, I have a new requirment where i have to pull files from windows server to aix box. I am using scp command to pull a files. command is working fine but it is asking password for everytime i m running this command.I want to automate this so that it will not ask any password. ... (1 Reply)
Discussion started by: prasson_ibm
1 Replies

8. AIX

Transferring files between Windows and AIX

How do I transfer Plain Text and/or BMP image files between my WindowsXP PC and my AIX 4.1 PowerPC? I have no network or USB options, just a Floppy disk drive and a CD drive on each machine. Is it possible at all? Any help would be gratefully received:) (7 Replies)
Discussion started by: Pennant Man
7 Replies

9. UNIX for Dummies Questions & Answers

Transferring files between Windows and UNIX(AIX)

How do I transfer Plain Text and/or BMP image files between my WindowsXP PC and my AIX 4.1 PowerPC? I have no network or USB options, just a Floppy disk drive and a CD drive on each machine. Is it possible at all? Any help would be gratefully received:) (11 Replies)
Discussion started by: Pennant Man
11 Replies

10. AIX

copying files to a remote aix server using tar!

Hi, I am using AIX 5.2, and I want to copy some files from one server to a remote server using tar command. Can anybody tell me exact command? Thanks. Aqeel (2 Replies)
Discussion started by: system-admin
2 Replies
Login or Register to Ask a Question