delete('folder_path/file_name.jpg'); " name="description" />
You can't use AJAX to force / suggest a browser to download a file. With AJAX you can send data and receive data in JS. What you could do is
Before creating a PHP project, you need to download and install the NetBeans In the Sources Folder field, specify the subfolder of your document root where you want to The document root is specified in the web server configuration file.
Step 9 - Viewing the Files. Let's now confirm that our file is in the photo folder. We can do so by navigating to the 'photo' folder on our server, and then display the contents. The changeDir method uses "ftp_chdir" to changes the current directory on the ftp server. Simply pass in the directory to change to. Simple and sweet. ftp_class.php: