Languages :: Delphi :: Delete File after download |
|||
| By: digitaltree |
Date: 19/07/2003 00:00:00 |
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 | 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 |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








