Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Problem using SystemRemoteFolderDialog
Problem using SystemRemoteFolderDialog [message #582241] Tue, 25 August 2009 08:44
David Wootton is currently online David Wootton
Messages: 8
Registered: July 2009
Junior Member
I have RSE 3.1 runtime installed and have some code which uses the
SystemRemoteFolderDialog class to get the pathname of a directory on the
remote system. If the user clicks a directory name, then getOutputObject
returns an instance of SftpRemoteFile and everything is fine. If the user
selects either the 'My Home' or 'Root' labels, then getRemoteObject
returns an instance of SystemFilterReference and I can't get a remote path
from that since it's the wrong class.

How should I handle this? Should my code issue an error message indicating
that 'My Home' or 'Root' are not valid selections and that the user should
retry with a selection of a directory instead of one of these two objects?

Is there something else my code should be doing? Is this a RSE problem?


Previous Topic:TM3.1 Problem with "Export to Remote File System"
Next Topic:Problem using SystemRemoteFolderDialog
Goto Forum:

Current Time: Wed Aug 20 20:44:29 EDT 2014

Powered by FUDForum. Page generated in 0.01945 seconds