Why is ftp so slooooow?

Shawn

Lifer
Apr 20, 2003
32,236
53
91
For a single file it's fine but trying to copy 1000 files in 70 folders onto a remote server takes FOREVER. Why are we still using this antiquated technology?
 

Platypus

Lifer
Apr 26, 2001
31,046
321
136
Are you implying that the FTP protocol is not fast enough for high data rates? lol
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
Originally posted by: Shawn
It takes forever to create directories, etc.

would it be possible to extract archives on the server side? would be much faster if you send an archived file
 

her209

No Lifer
Oct 11, 2000
56,336
11
0
Also, are you 100% sure that its the directories slowing you down? Could it be the number of files?
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
Originally posted by: her209
Also, are you 100% sure that its the directories slowing you down? Could it be the number of files?

it's probably the number of files. IIRC it's only 1 command to create a directory but 2 to transfer a file
 

her209

No Lifer
Oct 11, 2000
56,336
11
0
Originally posted by: Shawn
Possibly. It just took an hour to transfer about 6MB worth of files. :(
You were probably better off zipping up the directory and FTPing that.
 

fs5

Lifer
Jun 10, 2000
11,774
1
0
Originally posted by: 0roo0roo
only limited to your connection speed and that of the servers,

actually if he's transfering a large NUMBER of files it takes much longer. Instead of a single stream of data you have to break, send another command, wait for response, start transfer for each file.

Better off zipping then uncompressing on the server. Much like if you were copying 1000 files from one local hard drive to another.
 

Shawn

Lifer
Apr 20, 2003
32,236
53
91
Originally posted by: her209
Originally posted by: Shawn
Possibly. It just took an hour to transfer about 6MB worth of files. :(
You were probably better off zipping up the directory and FTPing that.

I didn't even know you could do that. :confused: