The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
File Transfer through FTP Swapna173 Shell Programming and Scripting 4 08-20-2008 07:55 PM
file transfer using Ftp sudhi Shell Programming and Scripting 1 05-25-2008 11:14 PM
Transfer the file manas_ranjan UNIX for Dummies Questions & Answers 2 07-27-2007 09:33 AM
file transfer bkan77 Shell Programming and Scripting 4 07-27-2007 05:55 AM
transfer of specific file content to another file mem101 Shell Programming and Scripting 1 10-18-2005 02:01 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-26-2009
bbbngowc bbbngowc is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 194
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 (permalink)  
Old 06-26-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
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 (permalink)  
Old 06-26-2009
bbbngowc bbbngowc is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 194
Quote:
Originally Posted by methyl View Post
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 (permalink)  
Old 06-26-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,715
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 (permalink)  
Old 06-26-2009
bbbngowc bbbngowc is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 194
Quote:
Originally Posted by jim mcnamara View Post
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 (permalink)  
Old 06-26-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
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.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0