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 Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Performance issue with ftp script. Shiv@jad Shell Programming and Scripting 7 07-03-2009 01:01 PM
Performance of log parsing shell script very slow sowmitr Shell Programming and Scripting 7 04-08-2009 02:37 PM
Performance issue with awk script. RRVARMA Shell Programming and Scripting 4 07-10-2008 05:03 AM
shell script performance issues --Urgent icefish Shell Programming and Scripting 18 12-14-2007 10:43 AM
Performance of a shell script namishtiwari UNIX for Advanced & Expert Users 2 08-20-2007 06:10 AM

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

Join Date: Jun 2009
Posts: 25
FTP-Shell Script-Performance issue

Hello All,

Request any one of Unix/Linux masters to clarify on the below.

How far it is feasible to open a new ftp connection for transferring each file when there are multiple files to be sent. I have developed shell script to send all files at single stretch but some how it doesnt suit to the requirement as well. I was asked to do each file transfer differently i.e one file per one ftp.

will it effect the performance of the system? Please throw some light on this.

Thanks,
RSC1985
  #2 (permalink)  
Old 07-03-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,575
Well you havent said anything about the sizing nor speed... difficult to answer like that...
  #3 (permalink)  
Old 07-06-2009
RSC1985 RSC1985 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 25
Well, The size can be of 1MB,1GB or even 1KB also.Also the number of files also vary from time to time so we may not be knowing the size and number before we start FTP.

If we open many FTP instances will it be a problem? Please guide through.
  #4 (permalink)  
Old 07-07-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,575
OK for the files but what about the LAN? are your 2 boxes on same LAN? Is it an dedicated LAN, INTRANET or what? At what speed etc...
I have seen CISCO sitches drop by FTP transfers... (OK with really big files...and in certain conditions...).
My way of seing things:
In unix you loose priviledge as time passes and can to the extreme finish with something almost never ending...
So I would test the transfer time and be sure that in your normal conditions in doesnt exceed 5minutes, for it can change drastically depending of boxes charges both ways (one willing - the other overloaded...)
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 11:20 AM.


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