Curlftpfs incorrectly interprets file date date

If I sign up to my ftp server using ftp myserver.com and create a directory using

 ftp> mkdir testdir 

The directory will show the correct timestamp. I can check this with:

 ftp> ls 

I can also go to the server and run ls and get the timestamp for the directory (or file).

However, when I do this from installed curlftpfs, the ls list shows the file for an hour in the future. The server has the correct timestamp, but there are problems with the timestamp of files using mount curlftpfs.

This causes problems with my synchronization, backup and programming applications.

Can someone advise me where to look for an attempt to solve this problem by mounting curlftpfs?

By the way, gvfs monsters have the same issue with timestamps.

I suspected that this might be a problem with setting the Ubuntu time zone, although everything else (my clock, alarms, email, etc.) works correctly with the correct time zone. I even ran the time zone configuration to ensure the correct time zone:

 $ sudo dpkg-reconfigure tzdata 

I still have the same problem with mounting curlftpfs and gvfs.

+5
source share

Source: https://habr.com/ru/post/1202015/


All Articles