File Transfer issues SUN - > AIX


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers File Transfer issues SUN - > AIX
# 1  
Old 06-26-2009
File Transfer issues SUN - > AIX

Hi,

I'm puzzled at how this could be.

I'm trying to transfer some files from an Sun box to an AIX box via FTP. The file transfer goes fine until it reaches a file of about 150k then times out and fails.

The FTP Does not seem to be able to transfer files of more than 150k! However, I can transfer a compress file without any problems. The files I'm trying to grab are ASCII. I can transfer BINARY files easily no matter the size, but not ASCII.

Has anyone experienced this before?

The servers are on two separate networks and there are about 150,000 files in the directory I'm polling from.
# 2  
Old 06-26-2009
A couple of things to try.

1) Lower the block size on the ftpd (in inetd.conf).

2) Lower the block size on the ftp client (e.g. -B 1).

3) Get you comms people to check that both machines have hard-set LAN speed (i.e. not auto-negotiation).
# 3  
Old 06-26-2009
Quote:
Originally Posted by methyl
A couple of things to try.

1) Lower the block size on the ftpd (in inetd.conf).

2) Lower the block size on the ftp client (e.g. -B 1).

3) Get you comms people to check that both machines have hard-set LAN speed (i.e. not auto-negotiation).
How do I lower the block size of the ftp client?
# 4  
Old 06-26-2009
Code:
ftp -B 1B  hostname

This creates one 1024 byte block. Check your ftp man page you may not need the red B above.
# 5  
Old 06-26-2009
Quote:
Originally Posted by jim mcnamara
Code:
ftp -B 1B  hostname

This creates one 1024 byte block. Check your ftp man page you may not need the red B above.
Doesn't work on AIX.
# 6  
Old 06-26-2009
Sorry to mislead you I can't find a way to change this in current Solaris or AIX. We really need Solaris to use 1k (not 8k) block size to talk to AIX. Others may know better.

The problem is often caused by ftp incorrectly negotiating (or defaulting) comms parameters to values only appplicable to that manufacturer on a fast LAN.

LAN speed auto-negotiation can cause this type of fault too.

It can be caused by routers incorrectly negotiating large packet sizes when not all routers on the route can deal with them.

The list is endless but usually reducing the ftp block size fixes the problem.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 7.1 - Samba 4 File Shares and Integration with Active Directory Issues

Hi. Ive recently upgraded Samba on an AIX server to Samba 4. The aim is to allow a specific group of Windows AD users to access some AIX file shares (with no requirement to enter passwords) - using AD to authenticate. Currently I have: Samba 4 installed ( and 3 daemons running) Installed... (1 Reply)
Discussion started by: linuxsnake
1 Replies

2. UNIX for Dummies Questions & Answers

Issues in Csv file transfer copy from one dir to another

Hi Unix community, I got this code from you guys and I tried to modify it to use for my csv dir transfer basically i want the .csv file to copy itself and populate it to the archive dir. #!/bin/ksh dir1="/home/pumela/unixtestprod" cd "$dir1" echo "code is running" for srcd in... (13 Replies)
Discussion started by: phumaree
13 Replies

3. AIX

File Transfer from Solaris to AIX

Hello All, Need to transfer 2 Terabyte of data from Solaris 10 to Aix 7.1 (One time complete transfer and then incremental during upgrade ). Please suggest best approach (4 Replies)
Discussion started by: kumgy01
4 Replies

4. Shell Programming and Scripting

Compatibility issues between Sun solaries & AIX commands.

Hi, I am migrating few of the shell scripts from existing SUN Solaries to AIX. My script contains some command like 'dos2unix' and 'unix2dos' which are not compatible in AIX flavour. Please let me know if there is any such commands in AIX which can replace these commands. Thanks. (1 Reply)
Discussion started by: 46019
1 Replies

5. Shell Programming and Scripting

fixed length text file padding issues in AIX

Hi, I have a fixed length text file that needs to be cut into individual files in aix and facing padding issues. If I have multiple blank spaces in the file it is just making it one while cutting the files.. Eg:- $ - blank space filename:file.txt ... (2 Replies)
Discussion started by: techmoris
2 Replies

6. AIX

File Transfer thru AIX IPSEC

Hello, I have configured IPSEC between two AIX Server v5.2 using IKE transport. When I try to transfer a files from one server to another, it is very very slow and the file transfer has been terminated after 25% completes. How to overcome this problem? Please advsie. Thanks (0 Replies)
Discussion started by: srllee
0 Replies

7. AIX

How to transfer files from AIX to AS400/i-series Integrated File System

Hi all, We (AIX) currently mount to a ZFS on the Mainframe. When one of our local users wants to transfer a file to the Mainframe, they must first run binary MVSLOGIN passing user name and password. Our mainframe will be retired soon and business processes will be transferring to an... (2 Replies)
Discussion started by: cruiser
2 Replies

8. AIX

File Transfer from windows to AIX

How to transfer a directory from my windows machine to my AIX server?? Plz give me a detailed step wise solution... Thanks in Advance.... (0 Replies)
Discussion started by: abhishek27
0 Replies

9. AIX

How to use SSH Secure File Transfer tool from windows to AIX without password?

If I use SSh Secure File Transfer tool on Windows, I want to transfer file from windows to AIX without password, how to do it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies

10. UNIX for Advanced & Expert Users

MQ and AIX, result transfer to a file ??

Hai all, I have a Question based on Websphere MQ and AIX. How can i get the output of following command in a file ? :confused: echo "DISPLAY QMSTATUS ALL " | runmqsc QM1 runmqsc is a MQ command, through which we can get into the QM (QueueManager) and see its properties and properties of... (1 Reply)
Discussion started by: varungupta
1 Replies
Login or Register to Ask a Question