Thanks!
I'll try it out.

2010/2/1 Paul Alfille <[email protected]>

> Patrik,
>
> I've added two new owserver protocol messages
> dirallslash
> getslash
>
> each is like the shorter version (dirall and get) except they all a
> trailing slash '/' to entries that are directories themselves.
>
> You can try it out with the owshell routines using --dir on the command
> line.
> e.g:
>
> p...@paul-laptop:~/owfs$ /opt/owfs/bin/owserver --fake=10
> p...@paul-laptop:~/owfs$ /opt/owfs/bin/owdir
> /10.67C6697351FF
> /bus.0
> /uncached
> /settings
> /system
> /statistics
> /structure
> /simultaneous
> /alarm
> p...@paul-laptop:~/owfs$ /opt/owfs/bin/owdir --dir
> /10.67C6697351FF/
> /bus.0/
> /uncached/
> /settings/
> /system/
> /statistics/
> /structure/
> /simultaneous/
> /alarm/
>
>
> 2010/2/1 Patrik Åkerfeldt <[email protected]>
>
> Paul,
>>
>> Checking if an error occurs is my current solution but as you say it's not
>> that elegant. Would it be possible to add a field in the header (that would
>> add an ending slash to directories)? Pretty much like
>> safemode/alias/persistence works today?
>>
>> Patrik
>>
>> 2010/1/31 Paul Alfille <[email protected]>
>>
>> Hi Patrik,
>>>
>>> The current solution is to try a directory listing on each element and
>>> see if an error is returned. I can see why that might not be the most
>>> elegant solution.
>>>
>>> I wouldn't want to break existing code or behavior, but there is
>>> precedence for this type of problem. We added "'directory all at once"
>>> (DIRALL) command, with most clients dropping back to the old "Directory one
>>> element at a time" behavior.
>>>
>>> We could add a DIRALLSLASH command which does what you want.
>>>
>>> Paul
>>>
>>> 2010/1/31 Patrik Åkerfeldt <[email protected]>
>>>
>>>> Is it possible to distinguish directories from attributes in the
>>>> owserver protocol? It would sure help if that was possible. Directories
>>>> could, for instance, end with a /?
>>>>
>>>> Thanks,
>>>> Patrik Åkerfeldt
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> The Planet: dedicated and managed hosting, cloud storage, colocation
>>>> Stay online with enterprise data centers and the best network in the
>>>> business
>>>> Choose flexible plans and management services without long-term
>>>> contracts
>>>> Personal 24x7 support from experience hosting pros just a phone call
>>>> away.
>>>> http://p.sf.net/sfu/theplanet-com
>>>> _______________________________________________
>>>> Owfs-developers mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The Planet: dedicated and managed hosting, cloud storage, colocation
>>> Stay online with enterprise data centers and the best network in the
>>> business
>>> Choose flexible plans and management services without long-term contracts
>>> Personal 24x7 support from experience hosting pros just a phone call
>>> away.
>>> http://p.sf.net/sfu/theplanet-com
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Planet: dedicated and managed hosting, cloud storage, colocation
>> Stay online with enterprise data centers and the best network in the
>> business
>> Choose flexible plans and management services without long-term contracts
>> Personal 24x7 support from experience hosting pros just a phone call away.
>> http://p.sf.net/sfu/theplanet-com
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to