visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: Delphi :: Delete File after download


By: digitaltree U.S.A.  Date: 19/07/2003 00:00:00  English  Points: 60 Status: Answered
Quality : Excellent
// Hello
// I download a file from <A HREF="http://www.mysite.something/myfile.txt">http://www.mysite.something/myfile.txt</a>

// the file is now on my computer

// But i need to delete the file from the source

// any ideas

// my uses are

Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, URLMon, ShellApi;








By: VGR Date: 19/07/2003 06:32:00 English  Type : Answer
I suggest using the FTP component, open a session , and delete the file.

Else My suggestion is to use some "download.php" page on the server that does the two actions : sending back the file to the calling client (Delphi program or browser), and then deleting it.

regards

Do register to be able to answer

EContact
browser fav
page generated in 335.180040 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page