| View previous topic :: View next topic |
| Author |
Message |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Mon Mar 05, 2012 2:49 pm Post subject: |
|
|
| MVV wrote: | | Flint, as I described above, I add a file into ZIP on a USB stick. TC creates modified archive in a temp folder and then copies it instead of original one. |
That's exactly what I was talking about! If RemovableInTemp=0, TC will create the modified archive not in TEMP, but directly on the same USB stick, beside the original archive, anc the copying step will become superfluous.
| MVV wrote: | | I don't perform such operations frequently (in fact, I'm using 7Z and CAB archives usually) but TC should allow to continue process after false Escape if it shows some message. |
Absolutely no objections to that, rather the contrary.  _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4528 Location: Russian Federation
|
Posted: Mon Mar 05, 2012 11:48 pm Post subject: |
|
|
| Flint wrote: | | That's exactly what I was talking about! If RemovableInTemp=0, TC will create the modified archive not in TEMP, but directly on the same USB stick, beside the original archive, anc the copying step will become superfluous. |
It seems that it is not true because I have a disproof.
I've tried TC 7.04a, TC 7.56a, TC 8b22x32 with clean INI and all of them pack to temporary folder and then replace original archive with updated one! BTW it happens even if I directly set RemovableInTemp=0 in [Packer] section of wincmd.ini.
Tested on Win7x64ProSP1. _________________ VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo… |
|
| Back to top |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 5350 Location: Valsted, Denmark
|
Posted: Tue Mar 06, 2012 2:13 am Post subject: |
|
|
RemovableInTemp=0 only has effect for small media like floppies - for larger media (ZIP, JAZ) packs directly on the media without the TEMP dir _________________ #524
Danish Total Commander Translator
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit
Get Extended Total Commander Menus
Last edited by petermad on Tue Mar 06, 2012 4:23 am; edited 1 time in total |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Tue Mar 06, 2012 2:39 am Post subject: |
|
|
| MVV wrote: | | I've tried TC 7.04a, TC 7.56a, TC 8b22x32 with clean INI |
I saw this, but I'm talking about my personal experience, confirmed by the description in the help file. I tested it on XP SP3 x32 with TC 8.0β22 x32, and on Win7 SP1 x64 with TC 8.0β22 x32+x64: when RemovableInTemp=0 the temporary file is created directly on the flash disk.
Maybe, you found some bug and TC detects your particular flash disk on your particular system as something that needs using TEMP dir always — OK then, but report it in another thread, because this just must not be so. And here this problem only makes things more complicated. What we need here is to help Christian reproduce this problem, and RemovableInTemp=1 (according to the original design and help file description) is the mandatory prerequisite. In some cases the problem can be reproduced with RemovableInTemp=0 — OK, so be it, but it's a totally different story. We already know that on Ghisler's computer this is not the case, so why confuse matters further? He already has many reports to deal with, and we should help him by splitting different bug reports instead of mashing them together. The steps to reproduce each problem must be as universal as possible. With RemovableInTemp=1 the problem is reproduced with guarantee, with RemovableInTemp=0 — only on some computers (and at the moment these "some computers" include only yours). So I just tell: set RemovableInTemp=1 and you will definitely see what we were talking about. Plain and simple. _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24590 Location: Switzerland
|
Posted: Tue Mar 06, 2012 2:40 am Post subject: |
|
|
Actually you have to set RemovableInTemp=1 (not zero!) to reproduce the problem, because only then TC has to copy the file.
OK, I can try to add Cancel button. Maybe I should also delete the damaged zip and keep the one in TEMP if the user still clicks on OK? _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Tue Mar 06, 2012 2:46 am Post subject: |
|
|
| ghisler(Author) wrote: | | OK, I can try to add Cancel button. Maybe I should also delete the damaged zip and keep the one in TEMP if the user still clicks on OK? |
Probably yes, but IMHO user should be notified about this. Intuitively user expects to find the original archive unchanged when he presses Cancel (he might not know about technical side of the operation), and he might be surprised to see it completely removed. He should know that his data remained intact but are located in different place. _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24590 Location: Switzerland
|
Posted: Tue Mar 06, 2012 3:01 am Post subject: |
|
|
Unfortunately that would require a new translation.  _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Tue Mar 06, 2012 3:08 am Post subject: |
|
|
ghisler(Author)
As a temporary solution the line 1230 would do. In the next major update you'll be able to add a separate line for this case. _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24590 Location: Switzerland
|
Posted: Wed Mar 07, 2012 11:24 am Post subject: |
|
|
I found a better solution: First I show "User abort" with OK and Cancel buttons. If the user clicks OK, I show string 1134, which is shown anyway in this case if the copying fails for some other reason.
Btw, the TEMP file isn't deleted when the user aborts the move operation now, so there is no data loss. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Wed Mar 07, 2012 12:21 pm Post subject: |
|
|
| ghisler(Author) wrote: | | I found a better solution: First I show "User abort" with OK and Cancel buttons. If the user clicks OK, I show string 1134, which is shown anyway in this case if the copying fails for some other reason. |
There is only one %s, which of the paths do you intend to show there, the TEMP one or the target archive's?
| ghisler(Author) wrote: | | Btw, the TEMP file isn't deleted when the user aborts the move operation now, so there is no data loss. |
I know that, you know that, but all other users should also know that. Even if you just tell somebody "Don't worry, your data are safe", the very first question from him will be: "OK, fine, but WHERE ARE THEY???" _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24590 Location: Switzerland
|
Posted: Wed Mar 07, 2012 4:34 pm Post subject: |
|
|
Well, that answers your first question, what would be shown in place of %s.
That's already done now in case of a write error, so the user knows where to find the complete archive - just not in case of a user abort. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Thu Mar 08, 2012 1:15 am Post subject: |
|
|
OK, that eliminates my concerns then.  _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4528 Location: Russian Federation
|
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Fri Mar 16, 2012 11:58 am Post subject: |
|
|
Confirm too. _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24590 Location: Switzerland
|
Posted: Sun Mar 18, 2012 10:02 am Post subject: |
|
|
Thanks! _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|