Delete file using ftp command


















Write a PHP or other script to do the deletion for you. Improve this answer. Ewan Heming Ewan Heming 2, 14 14 silver badges 13 13 bronze badges. The -r option is a recursive delete. It still wouldn't have the ability to delete subdirectories recursively in a single command and would at most do what FileZilla does.

You might be able to execute a command through FileZilla, depending on your login. I should have thought of this before. Click to select the address bar. Press Enter.

Find and delete quickly. Zistoloen 9, 6 6 gold badges 33 33 silver badges 59 59 bronze badges. Sudip Chatterjee Sudip Chatterjee 57 4 4 bronze badges.

This method almost takes the same amount of time as ftp!! It opens chrome for me when i hit enter after writing the ip. Daniel Daniel 1 1 bronze badge. Kal Elsehsah Kal Elsehsah 11 1 1 bronze badge. Is it faster than simply deleteing the folder? Community Bot 1. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. I wonder if there is a way to access this server through the terminal and delete PDF files through the terminal.

EDIT: For some security reasons, you have to type y everytime you want to delete a file. To avoid that, you need to run ftp -i in the beginning instead of ftp. Credits: Mass delete files in FTP server. This is quite neat for automation. I guess that's why you emphasized the need for the console, right?

Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 2 years ago. Active 1 year, 8 months ago. Viewed 7k times. I'm new here, I would like to ask a question about FTP.

Below the example command to send testfile. To get a file from the remote FTP server, you can use get command to do it. Below the example command to copy testfile. We can delete the remote file with delete command. Below is the example to delete a file named testfile. Save my name, email, and website in this browser for the next time I comment. Contact us: [email protected]. Sign in. Log into your account.

Password recovery. Thursday, January 13, Best Remote Desktop Software.



0コメント

  • 1000 / 1000