Hallo all,
I have issue to download a file in http:
example : http://www.dodol.com/document.zip

how to download "document.zip" using delphi??
Thank you

Recommended Answers

All 5 Replies

A Zip file has nothing to do with Delphi (the programming system, anyway). In most cases, you can just run the Zip file at download and it will unzip its contents on your computer. In some cases, you need a program such as WinZip to unpack the file but most zip files can unpack themselves.

HI Terry Robinson
if the file is not a zip file.. How to download it?
maybe test.mdb in www.doc.com/test.mdb. How to download the test.mdb?? Thank you

It looks like what you really want to do is copy a file from one place to another. In this case you want to copy it from a web location, I think. Look in Delphi Help for the CopyFrom procedure. That will copy a file from one place to another on a single computer. I'm not sure whether it will work when the source is on the web, but it might if you specify the web address in the source parameter. You might want to start a new thread to ask how to use Delphi to copy a file from a web application to your computer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.