Menu

#2 Support for numbered folders

open
None
7
2003-04-12
2003-04-07
George
No

Often online image archives host a multitude of files with
a numbering schema. On some servers, these files are
located in numbered directories.

To illustrate:

baseurl/1/1.extension
baseurl/1/...
baseurl/2/1.extension
baseurl/2/...
baseurl/...

It would be convient to be able to download an entire
hierarchy of an image archieve. Potentially with the
features currently available for images applied to the
folder structure as well.

Granted there would have to be a similar folder hierarchy
created - or a change in numbering syntax (ie a prefix or
suffix of the folder number). To illustrate:

for the file baseurl/003/012.extension

prefix syntax: 003_012.extension (essentially
converting / to _)

suffix syntax: 012_003.extension

The prefix syntax would appear more useful for sorting
purposes, however there may be advantages of suffix
syntax as well.

Discussion

  • George

    George - 2003-04-07

    Logged In: YES
    user_id=660711

    another thought... perhaps this could be done as to
    accomodate numbered folders and files seperated by a
    constant string. For example:

    baseurl/1/moreurl/1.extension

     
  • George

    George - 2003-04-08

    Logged In: YES
    user_id=660711

    as to my previous idea of:

    baseurl/folder#/moreurl/file#.extension

    I would be useful if these features were implemented as
    optional such that moreurl could be left out (or default to a
    null string).

    I think this concept basically utilizes similar coding to the file
    sequencing. Perhaps this could be taken advantage of.

     
  • Anonymous

    Anonymous - 2003-04-12
    • priority: 5 --> 7
    • assigned_to: nobody --> mhcomputing
     
  • George

    George - 2003-04-13

    Logged In: YES
    user_id=660711

    It would also be useful if this could be done to recognize a
    sequence of dates. For example:

    baseurl/04122003/#.extension
    ...
    baseurl/04302003/#.extension
    baseurl/05012003/#.extension

    Obviously, due to internationalization, support for the most
    common date formats would be appreciated.

     
  • George

    George - 2003-05-05

    Logged In: YES
    user_id=660711

    An alternative method of thinking about this would be to allow
    a shift style syntax where autoincrementation would occur
    until there were no longer any such inputs.

    eg: baseurl[1,5,3]moreurl[1,6,8]evenmoreurl[1,76,5].extension

    While a deviation from the current console parameter format,
    would provide for an easier modus of implementing recursive
    autoincrementation.

     

Log in to post a comment.

MongoDB Logo MongoDB