Skip to Content
0
Jul 27, 2007 at 10:06 AM

How to get network attached folders from Frontend?

19 Views

Hi,

I'm developing a dialog which allows to mass-import files from harddisk or any network attached folders.

On my screen is an alv_tree on the left side which shows the hierarchie and where you can select the required files via checkbox and an alv_grid on the right which shows the selection for Import.

I'm using the GUI_FRONTEND_SERVICE class and am currently checking for all drive-letters (A:, B:, C:, ...) if the path exists and it works fine for all drives that are shown in my workplace.

(By the way I don't like this approach, I would prefer a method which delivers all paths to the mounted drives and devices, if you know one, please let me know)

The only problem is that the network attached folders in "my network places" are variable and therefor I can't find them by using the DIRECTORY_EXIST method because I can't forecast what their names will be.

So my question is:

Is there a way to get a list of all network attached folders from the frontend?

Thanks in advance!

Kind regards,

Maximilian