Re: [fpc-pascal] Download file

2005-11-17 Thread Paul Davidson
It does not work as is on Mac, but then, most people don't care. *cry* On Nov 17, 2005, at 18:42, L505 wrote: Question: I would like to download a file via HTTP, how can I achieve that in a Synapse is nice.. Note: It is not 100 percent platform independent. (works on Linux and Windows poss

Re: [fpc-pascal] Download file

2005-11-17 Thread L505
> Question: > I would like to download a file via HTTP, how can I achieve that in a Synapse is nice.. Note: It is not 100 percent platform independent. (works on Linux and Windows possibly other operating systems.) ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] Download file

2005-11-17 Thread Paul Davidson
The silly answer. Construct an HTTP message according to IETF/W3C rules. Better answer. Assuming you have a socket connection open, the following should be included in your message: HTTP/1.0 200 Connection: Close Content-length: Content-type: MIME-version:1.0 The above should be in singl

[fpc-pascal] Download file

2005-11-17 Thread dhkblaszyk
Question: I would like to download a file via HTTP, how can I achieve that in a platform independent way? What components to use and is there some code suited for dummy's available. Darius ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] proc/func to return MAC address of remote system?

2005-11-17 Thread Scott I. Remick
I am in urgent need of a procedure or function to return the MAC/ethernet address of a remote system using just it's IP or netbios name (either/or, both not necessary). I already have a working procedure I tweaked to get the IP (as a string) from the Netbios name, but sockets programming is bey