Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dsdp-tm-dev] problems with localFile and hostname

Hi Christian,

We already have a bug open for the invalid chars in a file name:   I plan to take a look at it soon.  

In the meantime, you should be able to work around this by using the Mount Path Mappers extension point.  This provides the means to override how remote files are stored in the RemoteSystemsTempFiles project.

By default, RSE uses the folowing:


To provide your own extension you need to implement ISystemMountPathMapper.

If you have more questions about that, let me know.


David McKnight    
Phone:   905-413-3902 , T/L:  969-3902
Internet: dmcknigh@xxxxxxxxxx
Mail:       D1/YFY/8200/TOR

Christian Hohmann <c.hohmann@xxxxxxxxxxxxx>
Sent by: dsdp-tm-dev-bounces@xxxxxxxxxxx

07/01/2008 10:07 AM

Please respond to
Target Management developer discussions <dsdp-tm-dev@xxxxxxxxxxx>

Target Management developer discussions <dsdp-tm-dev@xxxxxxxxxxx>
[dsdp-tm-dev] problems with localFile and hostname

Hi all,
I'm trying to extend the RSE with a new subsystem for my
webservice-based filesystem. Now I ran into problems:

When I try to open a file there is a call on the download() method in my
FileService implementation. For the variable "File localFile" I get the
"C:\Dokumente und Einstellungen\Christian

The problems are ":" and "?". This signs are not allowed in file and
folder names on Microsoft OS.
How can I deal with the localFile - names to download and view the files?

Another problem occures when I creat a new connection. I can enter my
hostname in capital and lower case letters. But asking for the hostname
via: IHost.getHostName() returns only capital letters.
changes to:

This causes some trouble with my own connector later on. For testing I
coded the needed hostname fix into the source. Is there a possibility
for getting the hostname in the format that I entered?

I hope you can give me some advice -


Christian Hohmann
SW - Engineer

Forschungszentrum Jülich GmbH
Jülich Supercomputing Centre (JSC)
Distributed Systems and Grid Computing Division

Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
dsdp-tm-dev mailing list

Back to the top