Page 1 of 1

Opts in CTB pointing to SFTP drive very slow to appear

Posted: 12 Jan 2015 00:16
by aliteralmind
I have the below button, each item of which points to an SFTP drive. All it does is pop up a list of sub-directories, and when one is clicked on, you go to it.

It takes between two and eight seconds to appear. It doesn't *do* anything until I click on one of the items. I don't see why it shouldn't be instantaneous.

Code: Select all

Snip: CTB 1
  XYplorer 14.80.0005, 1/11/2015 6:11:51 PM
Action
  NewUserButton
Name
  Left-click: Sub-directory / Right-click: Root
Icon
  label:Q:\
ScriptL
  "Auth lifecycle & testing tutorial"
     Q:\django_files\djauth_lifecycle_tutorial
  "Billy Joel"
     Q:\django_files\django_test
  "Ajax/JQuery"
     Q:\django_files\django_ajax_demo
  "working.txt"
     Q:\django_files\working.txt
ScriptR
  ::goto "Q:\"
FireClick
  0
Another button pointing to a local drive is indeed instantaneous:

Code: Select all

Snip: CTB 1
  XYplorer 14.80.0005, 1/11/2015 7:06:35 PM
Action
  NewUserButton
Name
  Left-click: Sub-directory / Right-click: Root
Icon
  label:C:\
ScriptL
  "applications"
     C:\applications\
  "data_jeffy"
     C:\data_jeffy\
  "data_jeffy\code (use catalog for XBN-Java)"
     C:\data_jeffy\code\
  "aliteralmind.com doc root"
     C:\data_jeffy\jeffyepstein_com\jeffyepstein_com\docs\
  "Secrets"
     C:\data_jeffy\private\executor_documents\
  "AppData\Roaming"
     C:\Users\aliteralmind\AppData\Roaming\
  "Secondary applications (paper)"
     ::goto "paper:Other applications"
ScriptR
  ::goto "C:\"
FireClick
  0

Re: Opts in CTB pointing to SFTP drive very slow to appear

Posted: 12 Jan 2015 10:16
by admin
Try to tick these two:
Configuration | Refresh, Icons, History | Icons | Use generic icons for super-fast browsing
Configuration | Refresh, Icons, History | Icons | But only in network locations

Does it help?

Re: Opts in CTB pointing to SFTP drive very slow to appear

Posted: 12 Jan 2015 14:56
by aliteralmind
Phew. Thank you.

There's still a significant delay compared to a local drive, but now it's much less (about double to triple the time compared...fast enough...much better than eight seconds!).

Re: Opts in CTB pointing to SFTP drive very slow to appear

Posted: 12 Jan 2015 14:59
by admin
Hmm, there should not be any delay now.

Please try this script with one of those locations, and post the results, e.g.:

Code: Select all

exist "Q:\django_files\djauth_lifecycle_tutorial";

Re: Opts in CTB pointing to SFTP drive very slow to appear

Posted: 12 Jan 2015 15:01
by aliteralmind

Code: Select all

Does "Q:\django_files\djauth_lifecycle_tutorial" exist? 

ExistFile: False
ExistPath: True
ExistFolder: True
ExistItemFF: True
ExistPathFF: True
ExistPathOrFile: True
ExistPathOrFileShell: True
ExistIcon: True
IsNetworkLocation: True
GetItemType: 2

Re: Opts in CTB pointing to SFTP drive very slow to appear

Posted: 12 Jan 2015 15:05
by admin
OK; looking good.

It might be this one:
Q:\django_files\working.txt

Check speed without it...

Re: Opts in CTB pointing to SFTP drive very slow to appear

Posted: 12 Jan 2015 15:08
by aliteralmind
That seems to be it. Without it, it's almost as fast as the local-drive buttons. With it, it has that (now thankfully) brief delay.

Re: Opts in CTB pointing to SFTP drive very slow to appear

Posted: 12 Jan 2015 15:10
by admin
Cool, I can fix that... :)

Re: Opts in CTB pointing to SFTP drive very slow to appear

Posted: 12 Jan 2015 15:23
by aliteralmind
:appl: