To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 4849
4848  |  4850
Subject: 
Re: Planes & Requirements for a generic download-tool
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 14 Jul 2000 04:47:24 GMT
Viewed: 
614 times
  
Yes I know, with Win32 it's easy no matter if it's http or ftp, but is it
also under Unix? I would like to keep the source as portable as possible.
In general it doesn't depend on the protocol, but getting directory listings
from ftp servers is common and always allowed while on http-servers it's
mostly forbidden :-(

Michael

Leonardo Zide <leonardo@centroin.com.br> schrieb in im Newsbeitrag:
396E1843.7AE8988A@centroin.com.br...
Michael Lachmann wrote:

I saw that it is possible to extract the executables Ledit.exe and
Complete.exe using WinZip and I will check if it is also possible using • GZip.
If yes I will include gnu-zip code into the program to automatically • unpack
the packages.

  There's a zip library at ftp.cdrom.com that is capable of extracting
files (doh !) and has an example for creating a win32 program. I forgot
the name but it should be very easy to find.

Question to Tim: Would it be possible for you to activate an ftp server • at
ldraw.org where you put everything in which is download-able? This would • make
the whole thing more easy to program (at least for me ...).
Another thing is that I would like to ask to include a certain text-file • into
the complete.exe and updates which cleary states the which update is • included
in the package so tracking would be easy.

  If you're going to do a win32 program then you can use http *very*
easily, I use wininet lib to check for new versions of LeoCAD:

  HINTERNET hHttpFile = InternetOpenUrl(session,
"http://www.leocad.org/updates.txt", NULL, 0, 0,
0);

Leonardo





Message has 1 Reply:
  Re: Planes & Requirements for a generic download-tool
 
(...) We can always either: a. Enable directory listings for the appropriate directories. b. Supply a parts.dir file, containing the directory listing. BTW, unless something radical changes with the current situation, FTP is the wrong way to go for (...) (24 years ago, 14-Jul-00, to lugnet.cad.dev)

Message is in Reply To:
  Re: Planes & Requirements for a generic download-tool
 
(...) There's a zip library at ftp.cdrom.com that is capable of extracting files (doh !) and has an example for creating a win32 program. I forgot the name but it should be very easy to find. (...) If you're going to do a win32 program then you can (...) (24 years ago, 13-Jul-00, to lugnet.cad.dev)

7 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