Temporary Panel and USB - really slow

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Temporary Panel and USB - really slow

Post by *ctiberg »

Hello!

Does anyone know why it is that I can copy with fairly high speed from hard disk to my MP3 player using USB, but the speed drops tenfold when I copy from a Temporary Panel (plugin) to the same player?
Best regards,
Christian Tiberg
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

I'd say, TC is not using compatibility mode for the plugin. I dont know why tho...
I switched to Linux, bye and thanks for all the fish!
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

That was my thought too. But it is a real pain in the you know what. I very much like to use the Temporary Panel sometimes when I'm gathering songs to fill up the player, but I might have to use a temporary directory on disk instead - which isn't very good, to say the least :(
Best regards,
Christian Tiberg
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

When you copy a file from a plugin, then it's not Total Commander which copies the files, it's the plugin itself! Total Commander just tells the plugin to copy a file from x to y, and the plugin does the rest. This is necessary because plugins may get the data from ftp, unix partitions or any other location which Total Commander doesn't know.
Author of Total Commander
https://www.ghisler.com
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

Yeah well, I should've thought of that. I've made my own FS plugin(s), after all...

What is it that TC does that makes the USB writes so quick then? Do you have a link with more info, or perhaps even to some code?
Best regards,
Christian Tiberg
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, just don't copy the file yourself, but call the function CopyFileEx instead. It seems that Microsoft wrote a workaround to the missing write cache in that function.
Author of Total Commander
https://www.ghisler.com
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

Thanks for that, it helped a lot. I guess that I'll either have to write my own TurboTempPanel - or try to find some plugin already out there with that functionality. Any tips?
Best regards,
Christian Tiberg
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Have you tried FileRedirector?
http://www.totalcmd.net/plugring/FileRedirector.html

Icfu
This account is for sale
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

No, I haven't - and it seems like overkill for just the thing that I want to do. Temporary Panel is perfect for this, except for this USB thingy...

I don't have songs on multiple discs yet, they're all in the same dir. The reason for using a Temporary Panel is that I can go into various directories and copy songs, and then easily delete them again if I decide to. It's kinda hard to select multiple files from multiple subdirectories in TC - and everywhere else, too :)
Best regards,
Christian Tiberg
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

File Redirector IS a Temporary Panel plugin, the best one out there for TC actually.

Icfu
This account is for sale
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

It's kinda hard to select multiple files from multiple subdirectories in TC - and everywhere else, too
Is branch view (Ctrl-B) not suitable for this?
I switched to Linux, bye and thanks for all the fish!
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

SanskritFritz wrote:Is branch view (Ctrl-B) not suitable for this?
Nah, not really, not when you've got thousands of files and some have very bad names...
Best regards,
Christian Tiberg
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

icfu wrote:File Redirector IS a Temporary Panel plugin, the best one out there for TC actually.
TC won't even load it for me, complains about MSVCR70.DLL, which I don't seem to have...
Best regards,
Christian Tiberg
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

TC won't even load it for me, complains about MSVCR70.DLL, which I don't seem to have...
http://www.totalcmd.net/comments.php?plugin=FileRedirector
I switched to Linux, bye and thanks for all the fish!
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

Thanks but no thanks. I think I'll roll my own sooner or later, too much about the plugin is in russian. And getting hold of that DLL is too much bother right now.
Best regards,
Christian Tiberg
Post Reply