-
Notifications
You must be signed in to change notification settings - Fork 165
Development branch 1.19.0.b2: ftp shows duplicate file name #174
Comments
Hello, Could you share a detailed example of steps you did? Unfortunately I could not reproduce it on my own, no files are listed twice with FileZilla (v3.28.0)/ftp Linux command, even the delete/rename/add operation issued on the device itself or through FTP. Do you notice this behavior on an attached SD card too? Please also share the FTP settings you used for connecting. Thanks! |
The ftp settings are standard, the same as I use for all Pycom board: passive, 1 session per link. Note, that this also happens with command line ftp.
|
OK. I re-tested that, I took the WiPy3,
After a upload a few file, like after the 6th file, two of the existing file names were shown twice. Listing files at the REPL prompt with uos.listdir() does not show this effect. After deleting files the duplication went away. |
Hello, Based on your detailed steps I could reproduce the issue, thanks! |
I did further testing... The problem appears, no matter of the location, when more than 8 objects (dirs+files) are located in a folder. If you copy/create the 9th file/folder then 2 items will be listed twice. |
Hello, The root cause was found and corrected, will be part of the next Development release. Thanks for reporting the problem! |
Thanks. It seems anyhow to be a display only issue. |
Float option
Firmware 1.19.0.b2, device WiPy3
When requesting a file list with ftp, some files names are listed twice. That does not happen with uos.listdir() on the device. Ftp clients tested are command line ftp in Linux, FileZilla and FireFTP
When creating, renaming and deleting files on the device, the name that is shown twice changes.
Maybe deleted files are not properly handled (=skipped) by the ftp server.
The text was updated successfully, but these errors were encountered: