954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

download file in website

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

dodol
Newbie Poster
13 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

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.

Terry Robinson
Light Poster
27 posts since Apr 2007
Reputation Points: 12
Solved Threads: 1
 

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

dodol
Newbie Poster
13 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

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.

Terry Robinson
Light Poster
27 posts since Apr 2007
Reputation Points: 12
Solved Threads: 1
 

take a look here and probably you'll find what you're looking for

http://delphi.about.com/sitesearch.htm?terms=download&SUName=delphi&TopNode=3176&type=1

best regards,

radu84
Junior Poster
171 posts since Dec 2006
Reputation Points: 14
Solved Threads: 16
 

I have made some simple GetUrl() and GetHtm() functions for Delphi using Synapse as the backend (but simplified into functions for ease of use). These functions are available here if you need them:

http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=Synapse-Redirect-Extension
http://opensvn.csie.org/pspcgi/general-utilities/http/synapse/

L505
Newbie Poster
2 posts since Jun 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You