RE: [PHP] Deleting a file after download/upload

2009-06-23 Thread Daevid Vincent
> -Original Message- > From: Parham Doustdar [mailto:parha...@gmail.com] > Sent: Tuesday, June 23, 2009 12:33 PM > To: php-general@lists.php.net > Subject: [PHP] Deleting a file after download/upload > > My server connects to an FTP. Then, it downloads a file from

[PHP] Deleting a file after download/upload

2009-06-23 Thread Parham Doustdar
Hi there, I am writing a PHP FTP client for my project. I want to put a "download" option and an "upload"" option, but I don't know how. My problem is this: How can I make the server the PHP script is on delete the file after uploading it to the SFTP, or after the user has finished downloading it