Page 1 of 1

new version and ftp progress bar

Posted: 2011-11-20, 23:13 UTC
by testo
hi all
in new version 8 when i copy files on ocal disk there is info about overall progress: how many files left, how many MB left, est time to end, % value and so on. it would be great if i can have this when copy from ftp! now if i try to download a folder (not files) then i know nothing when it will stop and what is the progress for this.

regards

[mod]Duplicate thread¦s removed.
Clo, moderator.[/mod]

Posted: 2011-11-21, 14:26 UTC
by ghisler(Author)
The reason is that TC itself also knows nothing about the number of files in that folder! It could be a very deep path with hundreds of subfolders. Counting them in advance may take almost as long as the actual copying step.

Posted: 2011-11-22, 21:20 UTC
by testo
thank you for reply
but filezilla can do this and do this quick. no matter how big folder is i got all info during download.

Posted: 2011-11-23, 09:40 UTC
by Hacker
testo,
but filezilla can do this and do this quick. no matter how big folder is i got all info during download.
Have you tried this with a folder containing 10000 subfolders 8 levels deep containing 10000 files each?
If yes, I wonder how Filezilla does it so fast.

Roman

Posted: 2011-11-24, 00:40 UTC
by testo
Hacker wrote:testo,
but filezilla can do this and do this quick. no matter how big folder is i got all info during download.
Have you tried this with a folder containing 10000 subfolders 8 levels deep containing 10000 files each?
If yes, I wonder how Filezilla does it so fast.

Roman
i am not sure what is your point? do you want to proof that this can not be done? i also try this with winscp and also have full and quick info. my website is about 350 mb and 9000 files.

regards

Posted: 2011-11-24, 14:42 UTC
by ghisler(Author)
Could you check in the FTP log how these programs count the size of the subdirs, please?

Posted: 2011-11-24, 16:44 UTC
by testo
ghisler(Author) wrote:Could you check in the FTP log how these programs count the size of the subdirs, please?
sure. here it goes from filezilla:

Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 226 Transfer complete.
Status: File transfer successful, transferred 54 KB in 1 second
Status: Starting download of /en/koty/slides/7(2).html
Command: TYPE A
Response: 227 Entering Passive Mode (212,85,116,222,195,239)
Command: RETR 7(2).jpg
Response: 200 Type set to A.
Command: PASV
Response: 227 Entering Passive Mode (212,85,116,222,222,2)
Command: RETR 7(2).html
Response: 150 Opening BINARY mode data connection for '7(2).jpg' (56989 bytes).
Response: 150 Opening ASCII mode data connection for '7(2).html' (13376 bytes).
Response: 226 Transfer complete.
Status: File transfer successful, transferred 12 KB in 1 second
Status: Starting download of /en/koty/slides/6.jpg
Command: TYPE I
Response: 226 Transfer complete.
Status: Directory listing successful
Status: Retrieving directory listing...
Command: CWD tmpl
Response: 200 Type set to I.
Command: PASV
Response: 250 CWD command successful.
Command: PWD
Response: 227 Entering Passive Mode (212,85,116,222,255,181)
Command: RETR 6.jpg
Response: 257 "/new/administrator/components/com_installer/views/default/tmpl" is current directory.
Command: PASV
Response: 227 Entering Passive Mode (212,85,116,222,209,150)
Command: LIST
Response: 150 Opening BINARY mode data connection for '6.jpg' (34437 bytes).
Response: 226 Transfer complete.
Status: File transfer successful, transferred 56 KB in 1 second
Status: Starting download of /en/koty/slides/6.html
Command: TYPE A
Response: 150 Opening BINARY mode data connection for '/bin/ls'.
Response: 226 Transfer complete.
Status: File transfer successful, transferred 14 KB in 1 second

and so on, it's long document.

filezilla is faster than winscp. winscp took about 4 minutes to count everything but filezilla did it almost right away. filezila didn't wait with download to count everything. it's started downloading imidietly.

regards

Posted: 2011-11-25, 00:55 UTC
by Hacker
testo,
i am not sure what is your point?
My point being how to tackle the above mentioned problem (many directory changes necessary to count all file sizes) without slowing the FTP client down. I'd have no idea how to do that and would really wonder how the solution looks like.
filezila didn't wait with download to count everything. it's started downloading imidietly.
Does FileZilla show a progress bar for the whole operation?

Roman

Posted: 2011-11-25, 12:29 UTC
by testo
filezila didn't wait with download to count everything. it's started downloading imidietly.
Does FileZilla show a progress bar for the whole operation?

Roman[/quote]

there is progress bar for every file download, counter showing how many flies left (and how many already downloaded) and how many MB left.

regards

Posted: 2011-11-26, 13:10 UTC
by Hacker
testo,
there is progress bar for every file download, counter showing how many flies left (and how many already downloaded) and how many MB left.
OK, so the question is, how does FileZilla get the total file size and count (to show how many files and how many MB left) if it does not wait with the download to count everything? According to my knowledge, the total size cannot be known without visiting all the subdirs before starting the copy operation.

Roman

Posted: 2011-11-26, 21:27 UTC
by sekular
Filezilla queues the contents of what you download and it is at this time it logs the file information and size, well i would assume it does. It does take some time to queue a lot files for download on filezilla. It is not that often that i download extreme amounts in one go. Sometimes i have done 60 gb of 100s of files in many sub folders and it can take up to 1 min to queue all the files. Before the download even starts.

Posted: 2011-11-27, 13:41 UTC
by Hacker
sekular,
Filezilla queues the contents of what you download [...] and it can take up to 1 min to queue all the files.
OK, so that's the delay TC is trying to avoid. The question is - immediate (faster) download or rather a progress bar?

Roman

Posted: 2011-11-29, 22:54 UTC
by testo
Hacker wrote:sekular,
Filezilla queues the contents of what you download [...] and it can take up to 1 min to queue all the files.
OK, so that's the delay TC is trying to avoid. The question is - immediate (faster) download or rather a progress bar?

Roman
i prefere progress bar. i want to know if process will last 5 sec or 12 hours. additionaly, it can be option (checkbox) in download dialog box: "count folders before download and showe progress bar".