mtheall / ftpd

FTP Server for 3DS/Switch
GNU General Public License v3.0
1.34k stars 132 forks source link

unexpected directory listing line #129

Open ayechief opened 3 years ago

ayechief commented 3 years ago

Describe the bug

unexpected directory listing line 'MEMSTICK.IND//dfr////0/0/0/-340/50/24/6/9/1/1/1'. Invalid argument to date encode [65196-50-24]

i am able to connect directly to /3ds/ but not others like /cias/

To Reproduce install latest winscp on windows 10 and ftpd.cia on console try to run with winscp as FTP and set to anonymous

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Platform

Additional context Add any other context about the problem here.

artur-ag commented 2 years ago

Same problem here. When trying to open a folder, I get

Unexpected directory listing line 'Brain Training - How Old Is Your Brain (E).nds//adfrw////16777216/0/0/-340/50/7/7/5/1/1/1'.
Invalid argument to date encode [65196-50-7]

Running FTP with specific username and password.

System: New Nintendo 3DS XL System version: 11.15.0-47J Type: CIA Client: WinSCP 5.19.6 (Build 12002 2022-02-22) on Windows 11

Tinister commented 1 year ago

This appears to happen if there's a file on your 3DS with a modified timestamp from before the year 2000.

Changing all your files so the modified timestamp is >= 1 Jan 2000 seems to fix it.