Jump to content

Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?




Photo

  • Please log in to reply
15 replies to this topic - - - - -

#1 htcz

htcz

    Neowinian Senior

  • 1,821 posts

Posted 19 April 2012 - 11:28

Hey

How can I transfer more than 2 files at the same time on SFTP (SSH) thru FileZilla? Is there a option? Or is it a server limitation?

Thank you!


#2 n_K

n_K

    Neowinian Wise One

  • 4,346 posts
  • Location: here.
  • OS: FreeDOS
  • Phone: Nokia 3315

Posted 19 April 2012 - 11:31

Open the file preferences and look for the maximum number of simutainious connections.
Unless you own the server or have full control over it I wouldn't really recommend it, if it's leased then chances are it's got a standard rule to block any IPs connecting more than a few times in 5 minutes to SSH ports.

#3 OP htcz

htcz

    Neowinian Senior

  • 1,821 posts

Posted 19 April 2012 - 14:14

Open the file preferences and look for the maximum number of simutainious connections.
Unless you own the server or have full control over it I wouldn't really recommend it, if it's leased then chances are it's got a standard rule to block any IPs connecting more than a few times in 5 minutes to SSH ports.

It seems the limit is only 4 transfers at a time. If I put it at 10 (max permitted) only 4 at a time say "Transfering" (The rest say connecting) so.....I put it at 4 and its doing OK and a bit faster :)

#4 Miuku.

Miuku.

    A damned noob

  • 4,885 posts
  • Location: Finland, EU
  • OS: :: OS X :: SLES ::

Posted 19 April 2012 - 14:19

Unless you have somehow shaped connection (or the server does it on its own), you shouldn't get higher speeds from multiple connections - it'll just transfer the files and split the bandwidth amongst them.

#5 cybertimber2008

cybertimber2008

    Neowinian Senior

  • 1,696 posts

Posted 19 April 2012 - 14:57

Unless you have somehow shaped connection (or the server does it on its own), you shouldn't get higher speeds from multiple connections - it'll just transfer the files and split the bandwidth amongst them.

With lots of small files you could get faster overall transfer... otherwise it has start/stop times while going 1 (pause) 2 (pause) 3 (pause). Same happens with XCOPY/ROBOCOPY in windows. No large benifits with large files, but drastic improvement on small ones.

#6 OP htcz

htcz

    Neowinian Senior

  • 1,821 posts

Posted 20 April 2012 - 07:09

With lots of small files you could get faster overall transfer... otherwise it has start/stop times while going 1 (pause) 2 (pause) 3 (pause). Same happens with XCOPY/ROBOCOPY in windows. No large benifits with large files, but drastic improvement on small ones.

Exactly. For small files this is great and indeed has sped up the transfer drastically.

#7 +BudMan

BudMan

    Neowinian Super Star

  • 23,898 posts
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 22 April 2012 - 13:25

If you have lots of small files to transfer you know what also makes it faster! Tar them up or zip/gz them etc.. into one larger file and then copy it, then expand them back out ;)

#8 farmeunit

farmeunit

    The other white meat.

  • 2,514 posts
  • Location: Branson, MO USA

Posted 22 April 2012 - 13:45

I just raise mine until I started getting errors transferring files. On my home connection that is 5. At work I do 10. That is to the same FTP server.

#9 OP htcz

htcz

    Neowinian Senior

  • 1,821 posts

Posted 23 April 2012 - 10:38

If you have lots of small files to transfer you know what also makes it faster! Tar them up or zip/gz them etc.. into one larger file and then copy it, then expand them back out ;)

Thats one of those ideas that is actually crazy enough to work. :p

What formats does tar support? I was going to transfer a 7zip (most compressed) but not sure if tar supports it.

#10 +BudMan

BudMan

    Neowinian Super Star

  • 23,898 posts
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 23 April 2012 - 12:33

What??

just 7z if your files if that is what you want? What does tar have to do with that if your going to use 7zip?

#11 cybertimber2008

cybertimber2008

    Neowinian Senior

  • 1,696 posts

Posted 23 April 2012 - 13:44

What formats does tar support? I was going to transfer a 7zip (most compressed) but not sure if tar supports it.

.tar (known as a "tarball") is an alternative to .zip and .rar

#12 OP htcz

htcz

    Neowinian Senior

  • 1,821 posts

Posted 23 April 2012 - 14:55

What??

just 7z if your files if that is what you want? What does tar have to do with that if your going to use 7zip?

That would be my fault for not mentioning it :p

I only have access to a bash shell to where I transfer the file. There, I have the tar and the unzip utilities (AFAIK). Thats why behind my question :)

tar (known as a "tarball") is an alternative to .zip and .rar

tar is also a program on unix, which is what i have a SSH shell to.

I apoligize for not explaining correctly what I have access to.

#13 +BudMan

BudMan

    Neowinian Super Star

  • 23,898 posts
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 23 April 2012 - 16:26

can you add stuff to this remote ssh box? So you can use what you want? But zip should be a given that should there.

here is my remote host shell account - it has an unzip support.

sshaccount.jpg

You normally can create .tar file on windows as well with pretty much any zip program. Here 7zip shows it can pack .tar and gzip, etc.

Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM

So you should be able to create with 7zip and then expand it on your host.

#14 OP htcz

htcz

    Neowinian Senior

  • 1,821 posts

Posted 24 April 2012 - 10:03

I couldnt find a way to create a tar in 7zip

I am using your advice of zipping it all up and extracting it server side. But today the transfer is painfully slow :( The other day it took 15 minutes. Today 45 mins :(

#15 The_Decryptor

The_Decryptor

    STEAL THE DECLARATION OF INDEPENDENCE

  • 18,417 posts
  • Location: Sol System
  • OS: WinLin X 10.9 Ill-tempered Badger

Posted 24 April 2012 - 12:44

What type of OS are you running on the server and client, and what type of file transfers is it (If you're transferring it every day, is it something like log files or such?)

If it happens on a set schedule and you can get rsync on the client and server that would probably be the best bet, it can compress the data it transfers and can do delta encoding (so it only sends the differences), and it can use SFTP underneath so it's secure to boot.