Solved

Download a file from the web

Posted on 1998-09-16
1
165 Views
Last Modified: 2010-04-06
Hi!

I need a code to download a file from a www adress automatic and save it on my hd. Im using a laan network.
0
Comment
Question by:bert1
1 Comment
 
LVL 10

Accepted Solution

by:
viktornet earned 30 total points
ID: 1339850
ShellExecute(0, 'open', 'http:\\www.yahoo.com', nil,nil, SW_SHOWNORMAL);

the http:\\www.yahoo.com shall be replaced witht the path to the file on the net....e.g. 'http:\\something\some_more\MyFile.zip'

Regards,
Viktor Ivanov
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question