GideonZ / 1541ultimate

Official GIT archive of 1541 ultimate II sources
GNU General Public License v3.0
173 stars 45 forks source link

File date is wrong. #313

Closed Zibri closed 1 year ago

Zibri commented 1 year ago

If I save a file to unit 10 (which saves to my pendrive) the file date is wrong. I saved a few today and they appear with the wrong year (2022 instead of 2023). Obviously the date in the ultimate 2+ menu is correct.

Grrrolf commented 1 year ago

Which firmware version are you using and which device? The Lattice or the old U2+? Can you please sum up the exact steps (including each command) we need to follow to reproduce this?

Zibri commented 1 year ago

Ultimate 2+ fw 3.10a

To reproduce: map the IEC (full fat32 pendrive) to device 10. from C64 issue: SAVE"TEST",10

Then from ftp, listing the files, TEST has 2022 date even if the U2 clock is 2023.

If instead I send a file using FTP to the U2+, the file has the correct date.

radius75 commented 1 year ago

I was unable to reproduce this error. It saved me the date and time correctly. I saved the save"test",10 in USB Root, Temp and subfolders. U2+ fw3.10a Win7x64 FileZilla3.63.1 ftp client

Maybe something in U2+ configuration is crucial, or system specific, ftp client?

radius75 commented 1 year ago

Are you saving this file with the command load"test",10 on a usb flash drive? And what if you connect the flash drive with this file directly to the PC, what date of creation/modification does it show?

I only have differences related to my time zone (+2h) if I connect via FileZilla or via web browser (old InternetExplorer11).

GideonZ commented 1 year ago

Cannot reproduce:

$ ftp 192.168.178.50
Connected to 192.168.178.50.
220 Ultimate-II FTP: IP = 192.168.178.50. Hello 192.168.178.224:11982
Name (192.168.178.50:gideon): 
331 User name okay, need password.
Password:
230 User logged in, proceed.
Remote system type is UNIX.
ftp> cd usb0
250 Requested file action okay, completed.
ftp> cd bart
250 Requested file action okay, completed.
ftp> dir
200 Command okay.
150 File status okay; about to open data connection.
-rw-rw-rw-   1 user     ftp       163984 Apr 07 11:35 c128dm_u2-200-alpha-30401.crt
-rw-rw-rw-   1 user     ftp            4 Apr 22 15:57 hoi.prg
226 Closing data connection.
ftp> quit
221 Goodbye.