new version and ftp progress bar

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
testo
Junior Member
Junior Member
Posts: 19
Joined: 2011-11-20, 19:43 UTC
Location: Polska

new version and ftp progress bar

Post 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]
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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.
Author of Total Commander
https://www.ghisler.com
testo
Junior Member
Junior Member
Posts: 19
Joined: 2011-11-20, 19:43 UTC
Location: Polska

Post 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.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post 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
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
testo
Junior Member
Junior Member
Posts: 19
Joined: 2011-11-20, 19:43 UTC
Location: Polska

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Could you check in the FTP log how these programs count the size of the subdirs, please?
Author of Total Commander
https://www.ghisler.com
testo
Junior Member
Junior Member
Posts: 19
Joined: 2011-11-20, 19:43 UTC
Location: Polska

Post 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
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post 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
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
testo
Junior Member
Junior Member
Posts: 19
Joined: 2011-11-20, 19:43 UTC
Location: Polska

Post 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
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post 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
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
sekular
Member
Member
Posts: 104
Joined: 2009-07-02, 19:39 UTC

Post 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.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post 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
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
testo
Junior Member
Junior Member
Posts: 19
Joined: 2011-11-20, 19:43 UTC
Location: Polska

Post 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".
Post Reply