in reply to SFTP more than 50+ files

You havn't really showed what you are doing, but 1 simple enhancement would be to zip(tar) all the files going to a certain server, so you are only sending a single file to it (instead of 50+). Then log in again, and unpack the file. That would reduce each server transaction to 1 file receive, and a ssh2 logon to unpack it. It may be possible to do it all with a single SSH2 session with shell usage, but it may be easier to do it in a 2 step design.

I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: SFTP more than 50+ files
by msk_0984 (Friar) on Feb 02, 2008 at 09:53 UTC
    Thank you one and all for all your valuable suggestions and your prompt replies which has given me more scope to open up well and could learn a lot.

    The application is designed with an interface so that the user can select the file( Includes /Lookups/ Rules files ) on-fly to distribute it to remote systems ( through threading ). Currently we are planning to zip the selected files and unzip that in remote system. We are implementing this solution at our end and will have to check out how its performs at the Production End.

    Hope that this could fare well. Is there any thing else that can be implemented to make it more effective. So that it does not take much CPU Utilization and more time.

    Thank You Very Much Again.

    Sushil Kumar