Re: Files not visible with over 31 characters


Subject: Re: Files not visible with over 31 characters
From: Mac Conin (mconin@euc.de)
Date: Fri Jun 15 2001 - 13:06:27 EDT


hmm,

what about this:

run an apache on the server, do a simple webpage with a
simple form containing a button à la 'check for incoming
files' By pressing the button a perl script scans the
directory and moves the files to the work zone. This
script could also check for illegal characters or missing
.extensions by analysing the files as far as that makes
sense.

David Nelson wrote:
>
> On Thursday 14 June 2001 10:50 pm, Carsten Neumann wrote:
> > What name truncation do you expect?
> > Please tell detailed rules!
>
> Okay. This is how I would like to see file name truncation handled:
>
> If the name is over 31 chars and there is no extension just lop chars off the
> end of the name to get it down to 31.
>
> If the file name has an extension or layers of extensions e.g.
> complete_collection_of_scanned_john_denver_album_covers.tar.gz, then start
> lopping just to the left of the first extension. The file name from my
> previous example would become:
> complete_collection_of_scanned_john_denver_albu.tar.gz
>
> Of course sometime removing characters from a file name will result in the
> file having the same name as another file in the same directory. For example
> consider what would happen if the following files were both 1 character
> over the Macintosh limit of 31.
> my_really_important_files1.tgz
> my-really_important_files2.tgz
>
> Both files would end up with the name my-really_important_files.tgz, if that
> were allowed. The best way to handle this situation may not be immediately
> agreed upon by all.
>
> A number could be added to the end of the file name between the root and the
> extension. The example file names would become:
> my_really_important_files.tgz
> my-really_important_file1.tgz
>
> The characters could be removed from the beginning or the middle of the file
> name. Which would result in something like this:
> y_really_important_files1.tgz
> y-really_important_files2.tgz
>
> OR
>
> my_really_impotant_files1.tgz
> my-really_impotant_files2.tgz
>
> The best solution might be a combination of these approaches.
>
> First try removing chars from between the root of the name and the file
> extension.
>
> If that results in a conflict try removing chars from the middle of the name.
>
> If that results in a conflict try removing chars from the beginning of the
> name.
>
> As a last resort add a number to the file name.
>
> I look forward to hearing other peoples' thoughts on this.
>
> Have a great day.
> David Nelson

-- 
--schnippe-di-schnipp-- 

mit freundlichen grüssen

----------------------------------------------------------- Mac Conin EUC Online Service GmbH Geschäftsführer Taubengasse 9 mconin@euc.de D 50676 Koeln http://www.euc.de HRB Köln 32038 tel : +49-221-923 27 33 fax : +49-221-239 651 -----------------------------------------------------------



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:42 EDT