Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect filesize reported in file browser #1809

Closed
cyberduck opened this issue Feb 29, 2008 · 3 comments
Closed

Incorrect filesize reported in file browser #1809

cyberduck opened this issue Feb 29, 2008 · 3 comments
Assignees
Labels
bug ftp FTP Protocol Implementation high priority worksforme

Comments

@cyberduck
Copy link
Collaborator

anonymous created the issue

If I have a file > 1 GB on my FTP site when I view the file in the main window the size is reported incorrectly. I'm looking at a 4.37 GB file, which is displayed in the Cyberduck as 375.2 MB. It isn't a terrible bug, just confusing. It effects transfers as well since th progress bar reaches 100% as soon at 375.2 MB has been transfered.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you post the transcript from the directory listing. See View > Toggle Log Drawer. Thank you :)

@cyberduck
Copy link
Collaborator Author

anonymous commented

Replying to [comment:1 dkocher]:

Can you post the transcript from the directory listing. See View > Toggle Log Drawer. Thank you :)

Here is the output:
200 NOOP command successful.
CWD /Users/brian/Downloads/incoming/PP
250 CWD command successful.
PASV
227 Entering Passive Mode (192,168,1,153,237,109)
LIST -a
150 Opening ASCII mode data connection for '/bin/ls'.
total 9050
-rw-rw-rw- 1 www brian 56079759 Feb 26 05:44 !sample.mkv
drwxrwxrwx 5 www brian 170 Feb 26 04:41 .
drwxrwxrwx 14 www brian 476 Feb 28 13:22 ..
-rw-rw-rw- 1 www brian 393495974 Feb 26 08:13 PP.mkv
-rw-rw-rw- 1 www brian 1514 Feb 26 08:09 PP.nfo
226 Transfer complete.

It looks like it is using /bin/ls, but if I ssh to the host and do ls -la I see the correct file size.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

(http://www.google.com/search?q=393495974+bytes+in+MB). Cyberduck reports the size as given in the directory listing.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug ftp FTP Protocol Implementation high priority worksforme
Projects
None yet
Development

No branches or pull requests

2 participants