Shift - Click / Control - Click - WeOnlyDo Discussion board

Shift - Click / Control - Click (wodFtpDLX / wodFtpDLX.NET)

by Anita, Friday, August 08, 2014, 17:07 (3542 days ago) @ wodSupport

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.


Complete thread: