Shift - Click / Control - Click (wodFtpDLX / wodFtpDLX.NET)
Is there a way to disable the shift-click and control-click capability in the GUI? I only want my user to be able to select 1 file at a time.
by Anita, (4102 days ago)
Is there a way to disable the shift-click and control-click capability in the GUI? I only want my user to be able to select 1 file at a time.
by Jasmine, (4102 days ago) @ Anita
Anita,
hi. Yes, you could do it. You should use ActionSelect event, and then loop through DirItems and check if more than on is selected
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLX-DirItem-Selected.html
and then just deselect ones you're not interested in.
Can you try that?
Kreso
by Anita  ,  (4101 days ago) @ Jasmine
,  (4101 days ago) @ Jasmine
I'm working in PowerBuilder. I cannot access the DirItems collection. I continue to get the error message:
Error: Error accessing external object property diritems at line 7.....
Here is my code in the Click event:
long ll_count
string remote_path
remote_path = ole_ftp.object.RemotePath
ole_ftp.object.ListDir(remote_path)
ll_count = ole_ftp.object.DirItems.Count
I was thinking if I could access DirItems I could loop through as you suggested or call the SelectAll() method, unselect everything and the select just the one item. But I continue to get the error regarding DirItems. I'm not sure what I'm missing.
by Jasmine, (4101 days ago) @ Anita
Anita,
this is a different problem now - why DirItems cannot be accessed? Did you try to access it to set it as separate object to your local variable, and then access Count property?
Kreso
by Anita  ,  (4101 days ago) @ Jasmine
,  (4101 days ago) @ Jasmine
I don't think I know how to do what you suggested. This is what I tried:
long ll_count, rc
string remote_path
oleobject diritems
remote_path = ole_ftp.object.RemotePath
ll_count = 3
diritems = create oleobject
rc = diritems.ConnectToNewObject("WeOnlyDo.DirItems")
ole_ftp.object.ListDir(remote_path)
ll_count = DirItems.Count
DESTROY diritems
This is in the click event. There are 6 files in my folder on my ftp server. I know I'm successfully creating the object because I'm not getting any error messages. Also, ll_count returns 0 instead of 3, so this tells me that DirItems.Count = 0. I just don't think the object is populated with anything.
I tried calling ListDir() both before and after I created the new object. I still get 0 as my DirItems.Count

...what I really like is that wodSSH and wodSFTP components work excellently and are constantly being improved...

...wodFtpDlx was exactly what I needed, it worked, and it was priced right...

Congratulations on an excellent product and first rate support!

...wodFtpDlx was exactly what I needed, it worked, and it was priced right...

Count us as a satisfied WeOnlyDo customer. We appreciate your terrific support to get the secure Telnet working properly.

You made it so simple for us to integrate SFTP - a technology we had little experience with...

The people at WeOnlyDo are amazing! ... I always get a super fast response from customer service, and the products are great too. Thanks WeOnlyDo

The wodCrypt product is great and we appreciate your effort to add support for UNIX Crypt.

Thank you very much for the rapid responses. I was a little nervous about dealing with a company that is on a different continent from me. You have proven my concerns to be unfounded.

Your customer service was excellent, and I will look at your products in the future for precisely that reason.

