Re: File Collisions

Jude DaShiell <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
one thing that's possible is to add a unique extension to the file name 
once save is selected.  for today, I'd use .c27.1 for the first file and 
.c27.2 for the second file downloaded.



On Sat, 27 Mar 2021, Travis Siegel wrote:

> I do not believe lynx makes any attempt to make the name unique. It simply 
> tries to save the file.  If the filename is already present, it will let you 
> know, and ask if you wish to overwrite the file.
>
> I have no idea if it's possible to automate the process of renaming it it or 
> not, but I'd guess that's not an option in it's current encarnation.
>
> On 3/27/2021 6:12 PM, Martin McCormick wrote:
>>  Is there any feature in lynx that adds a random file extention to
>>  the name of a file one is about to save to make sure it is
>>  unique?
>>
>>  	I use lynx to download books in the NLS Talking Book
>>  program and it works well for this purpose but the file names are
>>  based on a formula that can produce identical file names if the
>>  files represent books from the same author or represent more than
>>  one issue of a periodical or in one case can be two different
>>  periodicals in which the formula produces the same set of letters
>>  for both sets of periodicals.
>>
>>  	What I have been doing is typing 000, 001, etc, after
>>  these names so no two files end up with the same name, but it
>>  would be nice to automate the uniqueness so nothing gets
>>  clobbered.
>>
>>  	For the sake of clarity, the formula I refer to is the
>>  web site's method for generating file names.  I have no control
>>  over that so any uniqueness will have to be generated here.
>>
>>  Thanks.
>>
>>  Martin McCormick
>>
>>  _______________________________________________
>>  Lynx-dev mailing list
>>  [email protected]
>>  https://lists.nongnu.org/mailman/listinfo/lynx-dev
>
> _______________________________________________
> Lynx-dev mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lynx-dev
>
>

_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.