Page 1 of 1

AndSMB 1.5: File count wrong when downloading

PostPosted: Thu Aug 04, 2011 7:49 pm
by zippanova
The "files left" count displays an incorrect number when downloading multiple files. This seems to occur when moving a folder of files, or a folder of folders of files (probably all cases similar to this).

The number appears to be calculated as follows. For this sample directory structure:
D = directory
F = file

D-\
|-D-\
| |-F
| \-F
\-F
D-\
|-F
\-F


When trying to copy both of the top level directories, I would expect the remaining file count to start at 4 (5 files minus the current transferring file). The observed behaviour is the file count starts at 1 (2 top-level directories selected minus the current transferring file).

I hope this is clear enough to address the issue.

~Alex

Re: AndSMB 1.5: File count wrong when downloading

PostPosted: Sat Aug 06, 2011 10:14 am
by support
Problem is that directory is not recursed so all files in a remote directory = 1

Re: AndSMB 1.5: File count wrong when downloading

PostPosted: Mon Aug 08, 2011 4:37 pm
by zippanova
Sounds like the problem has been identified well. When is a release planned with a fix?

Cheers,
~Alex

Re: AndSMB 1.5: File count wrong when downloading

PostPosted: Mon Aug 08, 2011 8:36 pm
by support
I think it will be an option because it requires to count remote file before downloading and it could take a while before starting transfer (depending on how many remote files/folders/subfolders)

Re: AndSMB 1.5: File count wrong when downloading

PostPosted: Tue Aug 09, 2011 4:49 pm
by zippanova
Would it really take that much longer to query only the selected directory? That seems like it would add a very small amount of the total time to the transfer. If there are more files to list, the transfer is still going to take longer anyway. Also, if you were to make the correct file counting behaviour an option, when the option is disabled you might as well just remove the file count, since it is most likely wrong in that case.