error filetime win32 not valid

Questions about Cobian Reflector
Post Reply
stefanobox
Posts: 1
Joined: 06 Nov 2021, 10:21

error filetime win32 not valid

Post by stefanobox »

Help!!
I had no problem With the old version, but now the backup stop for that problem:
(win10 on my pc)

ERR 2021-11-06 10:18:14 Si è verificato un errore imprevisto: FileTime Win32 non valido.
Nome parametro: fileTime
ERR 2021-11-06 10:18:14 Fonte: mscorlib Dettagli: in System.DateTime.FromFileTimeUtc(Int64 fileTime)
in Alphaleonis.Win32.Filesystem.FileSystemInfo.get_LastWriteTimeUtc()
in Alphaleonis.Win32.Filesystem.FileSystemInfo.get_LastWriteTime()
in Cobian.Reflector.Engine.CopyComponent.copyDirectory(String directoryS, String directorySNP, String directoryD, Boolean topDirectory)
in Cobian.Reflector.Engine.CopyComponent.copyDirectory(String directoryS, String directorySNP, String directoryD, Boolean topDirectory)
in Cobian.Reflector.Engine.CopyComponent.copyDirectory(String directoryS, String directorySNP, String directoryD, Boolean topDirectory)
in Cobian.Reflector.Engine.CopyComponent.copySingleDirectory(String directoryS, String directorySNP, String directoryD)
in Cobian.Reflector.Engine.BackupComponent.Backup()
in Cobian.Reflector.Engine.TaskBackupExecutor.startBackup(BackupTask subTask, String backupId, DateTime backupTime)
in Cobian.Reflector.Engine.TaskBackupExecutor.Process()
User avatar
cobian
Site Admin
Posts: 833
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: error filetime win32 not valid

Post by cobian »

Could you find out the file that is causing this and send it to me, or check the file's timestamp and attributes?
--
Luis Cobian
Cobian Backup's creator
PirateKing42
Posts: 1
Joined: 21 Nov 2021, 00:26

Re: error filetime win32 not valid

Post by PirateKing42 »

Hullo Luis,
I have managed to hit this error under a particular set of circumstances in version 0.9.50.

R:\CR_test\Words contains a single text file with the string (minus quotes): "Test.<CR><LF>"
fileinfo.jpg
fileinfo.jpg (52.29 KiB) Viewed 68 times

The task is pretty vanilla. It has this:

Files->Source R:\
Filter->Include->dir->R:\CR_test\Words

When run I get:

Code: Select all

ERR 2021-11-20 23:48:49 An unexpected error occurred: Not a valid Win32 FileTime.
Parameter name: fileTime
ERR 2021-11-20 23:48:49 Source: mscorlib  Details:    at System.DateTime.FromFileTimeUtc(Int64 fileTime)
   at Alphaleonis.Win32.Filesystem.FileSystemInfo.get_LastWriteTimeUtc()
   at Alphaleonis.Win32.Filesystem.FileSystemInfo.get_LastWriteTime()
   at Cobian.Reflector.Engine.CopyComponent.copyDirectory(String directoryS, String directorySNP, String directoryD, Boolean topDirectory)
   at Cobian.Reflector.Engine.CopyComponent.copyDirectory(String directoryS, String directorySNP, String directoryD, Boolean topDirectory)
   at Cobian.Reflector.Engine.CopyComponent.copyDirectory(String directoryS, String directorySNP, String directoryD, Boolean topDirectory)
   at Cobian.Reflector.Engine.CopyComponent.copyDirectory(String directoryS, String directorySNP, String directoryD, Boolean topDirectory)
   at Cobian.Reflector.Engine.CopyComponent.copyDirectory(String directoryS, String directorySNP, String directoryD, Boolean topDirectory)
   at Cobian.Reflector.Engine.CopyComponent.copyDirectory(String directoryS, String directorySNP, String directoryD, Boolean topDirectory)
   at Cobian.Reflector.Engine.CopyComponent.copySingleDirectory(String directoryS, String directorySNP, String directoryD)
   at Cobian.Reflector.Engine.BackupComponent.Backup()
   at Cobian.Reflector.Engine.TaskBackupExecutor.startBackup(BackupTask subTask, String backupId, DateTime backupTime)
   at Cobian.Reflector.Engine.TaskBackupExecutor.Process()

A clone of that task which does not use the root directory:

Files->Source R:\CR_test
Filter->Include->dir->R:\CR_test\Words

Runs perfectly.


I hope this points you in the right direction.


Cheerio!

Mike
User avatar
cobian
Site Admin
Posts: 833
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: error filetime win32 not valid

Post by cobian »

Ahaaaa! Pretty useful info. Thanks!
--
Luis Cobian
Cobian Backup's creator
User avatar
cobian
Site Admin
Posts: 833
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: error filetime win32 not valid

Post by cobian »

Tested with no problems at all, even when using the root.

Is R: a network drive?
--
Luis Cobian
Cobian Backup's creator
Post Reply