-
Notifications
You must be signed in to change notification settings - Fork 135
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
"550 Could not get file size" for particular folders #173
Comments
Is there anything I can do to speed up error analysis and rectification? Diagnostic data? Should I test something? |
Does automatic_backups have the archive bit set? |
I don't know how to check this. NX-Shell does not show it. Neither do DBI and FTP. There is no other way available to me. According to RFC959 there is no such thing as an "archive bit". The specification of the MTP protocol also says nothing about this. Could you please explain the relationship between an archive bit and FTP? Which component should this set and why does the FTP server care? |
The archive bit is specific to FAT. The Switch's OS uses the archive bit to emulate files larger than 4GiB. As far as I'm aware, ftpd as a user application should see a directory with the archive bit set as if it were a file. |
Thanks for the explanation. That really is a strange implementation. Anyway, I ran the |
Describe the bug
I'm trying to backup the SD card in my switch via ftp. For this, as for other consoles, I use wget with the following command line
wget --mirror -c --no-host-directories --cut-dirs 0 --no-netrc --no-proxy --unlink --no-proxy --timeout=1 -P ftp://<IP of switch>:5000/ <local directory>
Some directories produce an FTP error, although I can very well access them via MTP. The consistency of the SD card was also checked.
To Reproduce
Steps to reproduce the behavior:
wget
commandline from aboveExpected behavior
All files and directories can be retrieved via ftp.
Screenshots
Platform (please complete the following information):
Additional context
See also cathery/sys-ftpd#26
For me it looks like the ftp daemon gets the type (file/directory) wrong for some directories.
The text was updated successfully, but these errors were encountered: