Request: SFTP in background
Moderators: Hacker, petermad, Stefan2, white
- MarkFilipak
- Member
- Posts: 164
- Joined: 2008-09-28, 01:00 UTC
- Location: Mansfield, Ohio
Request: SFTP in background
UPDATE: Save your time and jump to here: viewtopic.php?p=393725#p393725
I just can't live with TC tied up for hours while it does SFTP.
Can that be enabled for background transfers (separate thread?) sometime in the future?
Regards, Be Healthy,
Mark.
I just can't live with TC tied up for hours while it does SFTP.
Can that be enabled for background transfers (separate thread?) sometime in the future?
Regards, Be Healthy,
Mark.
Last edited by MarkFilipak on 2020-10-29, 18:49 UTC, edited 1 time in total.
Hi Christian! Delighted customer since 1999. License #37627
Re: Request: SFTP in background
Just press F2 instead of Enter in the copy dialog. Or check "Download in background (separate thread)" option.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- MarkFilipak
- Member
- Posts: 164
- Joined: 2008-09-28, 01:00 UTC
- Location: Mansfield, Ohio
Re: Request: SFTP in background
Thanks, Dalai, I'll look for it next time. Pity there's no [Background] button in the transfer status box. Oh, well.Dalai wrote: 2020-10-28, 20:06 UTC Just press F2 instead of Enter in the copy dialog. Or check "Download in background (separate thread)" option.
Hi Christian! Delighted customer since 1999. License #37627
Re: Request: SFTP in background
Yeah, sometimes I miss it too, it would be nice to have an option for TC to silently start FS every operation as a background one (if plugin supports that) but with foreground progress dialog with Background button (so it would already be a background operation for plugin), or to set default state of "Download in background" checkbox.
- MarkFilipak
- Member
- Posts: 164
- Joined: 2008-09-28, 01:00 UTC
- Location: Mansfield, Ohio
Re: Request: SFTP in background
UPDATE:
Via F5, I get a "background" choice. Via drag-n-drop, no choice.
Christian,
Could you make background the default, and put the background status in an ordinary window? I have a UHD display and the background transfer status is squashed and unreadable. Thanks!
Via F5, I get a "background" choice. Via drag-n-drop, no choice.
Christian,
Could you make background the default, and put the background status in an ordinary window? I have a UHD display and the background transfer status is squashed and unreadable. Thanks!
Hi Christian! Delighted customer since 1999. License #37627
Re: Request: SFTP in background
Not sure what I'm doing differently, but I'm getting the exact same copy dialog regardless of using F5 or Drag'n'Drop. And this dialog includes a background transfer option. I suggest to try with a fresh wincmd.ini: (requires "reinstallation" of SFTP plugin).
Regards
Dalai
Code: Select all
totalcmd.exe /i="%temp%\fresh.ini"
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- MarkFilipak
- Member
- Posts: 164
- Joined: 2008-09-28, 01:00 UTC
- Location: Mansfield, Ohio
Re: Request: SFTP in background
With drag-n-drop (from one panel to the other), I get NO dialog, the copy begins immediately.Dalai wrote: 2020-10-29, 18:57 UTC Not sure what I'm doing differently, but I'm getting the exact same copy dialog regardless of using F5 or Drag'n'Drop.
I didn't understand the rest of your reply. I don't use an 'ini' and I don't know what it's doing in %temp%.
Hi Christian! Delighted customer since 1999. License #37627
Re: Request: SFTP in background
That I can help with (hopefully).
Yes, you do. Or rather, every TC does use an INI file, usually named wincmd.ini. The location is set when installing TC. It can be changed afterwards and in different ways, but that's not important here.I don't use an 'ini'
Simple: The command I posted tells TC to use exactly that file instead of any other file specified anywhere else, i.e. it overrides locations specified in the Registry, in %COMMANDER_PATH%\wincmd.ini and so on. It's a simple and very effective method to rule out any settings changed by a user, especially when dealing with bug reports. And the best part is: nothing is changed in the wincmd.ini that's usually used, meaning that when TC is started the usual way again (Windows start menu, Windows desktop, command line, etc), it's the same way it was before.[...] and I don't know what it's doing in %temp%.
So, to rule out anything you set in the wincmd.ini file you usually use, try the command above, reinstall the plugin (can be added via TC's Plugins section in the Options) and try again.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- MarkFilipak
- Member
- Posts: 164
- Joined: 2008-09-28, 01:00 UTC
- Location: Mansfield, Ohio
Re: Request: SFTP in background
@Delai,
I know you're laying all the parts out in front of me, but they're not going together to make a Ferrari, at least not in my mind.
I submitted
and wound up here: c:\Users\ADMINI~1\AppData\Local\Temp\
There's no 'ini' there. There's certainly no 'fresh.ini' there.
I know you're laying all the parts out in front of me, but they're not going together to make a Ferrari, at least not in my mind.
I submitted
Code: Select all
CD %temp%
There's no 'ini' there. There's certainly no 'fresh.ini' there.
Hi Christian! Delighted customer since 1999. License #37627
-
- Power Member
- Posts: 872
- Joined: 2013-09-04, 14:07 UTC
Re: Request: SFTP in background
That there is no INI file (yet) in %temp% is intentional. If TC doesn't find the specified INI file, TC creates and uses a "fresh" one with default settings at the given directory (%temp%) with the given name (fresh.ini) without touching your normal INI file. This way, you can quickly start TC with default settings while not touching or altering your normal INI file. After concluding testing with the "fresh" INI file, you can switch back to your normal INI file by simply closing TC and starting it normally without the /I=... commandline parameter.
- MarkFilipak
- Member
- Posts: 164
- Joined: 2008-09-28, 01:00 UTC
- Location: Mansfield, Ohio
Re: Request: SFTP in background
My sincerest apology...
The drag-n-drop operation does indeed open a dialog that includes the background option. I guess I've become so automatic at acknowledging that dialog that I didn't notice. Forgive me.
I'd still like it to default to background.
We now resume our regularly scheduled program.
The drag-n-drop operation does indeed open a dialog that includes the background option. I guess I've become so automatic at acknowledging that dialog that I didn't notice. Forgive me.
I'd still like it to default to background.
We now resume our regularly scheduled program.
Hi Christian! Delighted customer since 1999. License #37627
Re: Request: SFTP in background
Yes, I should have added that TC creates non-existing INI files when using the /i switch. Sorry, I missed that.
Not sure if it helps or even applies to transfers from/to file-system plugins, but there's a switch to make all transfers go to the background:See help section 4.b for more information. Perhaps try a value of 2 and see what happens. Note that, when you enable this feature, all transfers are done in the background including ones from disk to disk.
Regards
Dalai
Not sure if it helps or even applies to transfers from/to file-system plugins, but there's a switch to make all transfers go to the background:
Code: Select all
AlwaysCopyInBackground=0
1: Total Commander always copies in the background
2: Always use background transfer manager
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror