Opts in CTB pointing to SFTP drive very slow to appear

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Opts in CTB pointing to SFTP drive very slow to appear

Post 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
Windows 8.1, 64-bit

admin
Site Admin
Posts: 67275
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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?

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

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

Post 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!).
Last edited by aliteralmind on 12 Jan 2015 15:05, edited 2 times in total.
Windows 8.1, 64-bit

admin
Site Admin
Posts: 67275
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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";

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

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

Post 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
Windows 8.1, 64-bit

admin
Site Admin
Posts: 67275
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

OK; looking good.

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

Check speed without it...

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

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

Post 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.
Windows 8.1, 64-bit

admin
Site Admin
Posts: 67275
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Cool, I can fix that... :)

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

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

Post by aliteralmind »

:appl:
Windows 8.1, 64-bit

Post Reply