[solved] Bug after USB-cable transfer of 0-byte files
Moderators: Hacker, petermad, Stefan2, white
[solved] Bug after USB-cable transfer of 0-byte files
Under download with a USB-cable connection, after copying a 0-byte file, TC cannot write the NEXT file.
This bug was first reported during the private betatest of TC 7.51, but it was fixed for Windows XP to Windows XP connections with TC 7.51b8.
Now I experiencee this bug again in TC 7,55a, but only when I copy files from Windows XP Home SP3 (server) to Windows 7 Home Premium 64bit (client). If I copy the other way, either by copying from client to server or switching server and client, then I have no problems.
I am using a "Belkin Easy Transfer Cable for Vista" - could it be because it is not a cable explicitly for Windows 7 ? - I doubt it...
This bug was first reported during the private betatest of TC 7.51, but it was fixed for Windows XP to Windows XP connections with TC 7.51b8.
Now I experiencee this bug again in TC 7,55a, but only when I copy files from Windows XP Home SP3 (server) to Windows 7 Home Premium 64bit (client). If I copy the other way, either by copying from client to server or switching server and client, then I have no problems.
I am using a "Belkin Easy Transfer Cable for Vista" - could it be because it is not a cable explicitly for Windows 7 ? - I doubt it...
Last edited by petermad on 2021-05-30, 17:30 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for your report, I will check that.
Can you try if you get this bug with b8 too now? The download address is still the same.
Can you try if you get this bug with b8 too now? The download address is still the same.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I also get it with TC 7.51b8 when using Win 7 64bit as client - the error in the log after the failed upload of the file after the 0-byte file is "FILE ERROR 123"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I tried to reproduce your problem, but I can transfer 0 byte files without any problems here, in both directions.
Error 123 is ERROR_INVALID_NAME. I guess that the problematic file starts or ends with a space, or contains some other problematic character. Can you try it with some other file? Or just create a new 0 byte file via Shift+F4.
Error 123 is ERROR_INVALID_NAME. I guess that the problematic file starts or ends with a space, or contains some other problematic character. Can you try it with some other file? Or just create a new 0 byte file via Shift+F4.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
it is NOT the 0-byte file itself that I cannot transfer - it is the file that comes after it, when I download several files at one time. I can afterward transfer the file if I only transfer that file.but I can transfer 0 byte files without any problems here, in both directions
I guess that the problematic file starts or ends with a space, or contains some other problematic character
Well no problematic characters - just no extension but I can reproduce it with 0-byte files with or without extension.
To reproduce.
1. Make two files called:
Sent - 0 byte
Trash.msf - 2000 bytes (just not 0)
2. Start USB server on Windows XP
3. Start USB client on Windows 7 64bit
4. On the client mark the two files on the server-side for download (they must appear in the order above - the 0-byte file first)
5. Copy/download the two files TO the client - after a little while I get a message: "Error downloading file! Trash.msf"
I have now tested it several times - and a few times the transfer of both files actually takes place but in at least 90% it fails.
If I after the first failed attemt, leave the Sent file on the client and mark both files on the server-side, then start the copy again and answer yes to overwrite all files - then Sent.msf is copied right away. If I again copy both files (both files are also on the client now) then the error appears again.
Last edited by petermad on 2010-11-05, 01:09 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I could indeed reproduce it now with XP 32bit server and Windows 7 x64 client. It's a timing problem, but I could find a solution now. Thanks for your detailed description!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I guess that's he reason why I couldn't reproduce it 100% of the times.It's a timing problem
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Confirm fixed in TC 7.56 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: