To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.org.ldrawOpen lugnet.cad.dev.org.ldraw in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Organizations / LDraw / 3662
3661  |  3663
Subject: 
Re: Automatic download of unofficial parts in LDView
Newsgroups: 
lugnet.cad.dev.org.ldraw
Date: 
Wed, 17 May 2006 18:51:50 GMT
Viewed: 
2157 times
  
In lugnet.cad.dev.org.ldraw, Steve Bliss wrote:
In lugnet.cad.dev.org.ldraw, Travis Cobbs wrote:
That starts getting more difficult for a few reasons.  First of all, the tracker
would have to return all the dependent files on the tracker in addition to the
requested files.  Many of these files could well be already present on the
end-user's machine.

I'd say it wouldn't *have* to return the dependent files. LDView can turn
around, and make an additional request.

Right - it could only do so when asked by the client, and the client is always
free to ignore data it doesn't need.

We'd also have to agree on a format for the response containing the multiple
files.

Use MPD (within a text response).  Sending a stream of multiple files was the
original purpose of the MPD format.

Could do that, or tar (which would work for non-DAT files, if needed).  I'd be
tempted to add a zip compression (as an option) on the stream, since it should
compress so nicely... :)



Message has 2 Replies:
  Re: Automatic download of unofficial parts in LDView
 
(...) Wont most servers (and clients) automatically use gzip or similar if they both support it? (19 years ago, 17-May-06, to lugnet.cad.dev.org.ldraw)
  Re: Automatic download of unofficial parts in LDView
 
(...) MPD would work for any text files, as long as they don't include /\n0 FILE /. One thing MPD would not provide is the mod-timestamp for each file. That could be listed at the top of the response (before the first file) or maybe in the HTTP (...) (19 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)

Message is in Reply To:
  Re: Automatic download of unofficial parts in LDView
 
(...) I'd say it wouldn't *have* to return the dependent files. LDView can turn around, and make an additional request. (...) Well, the server can support multiple files per request, and client programs can use it as well as they can. (...) Use MPD (...) (19 years ago, 17-May-06, to lugnet.cad.dev.org.ldraw)

26 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR