Delete Files on FTP Site Through Command Line

Core FTP client questions and answers
Locked
ET1998
Posts: 2
Joined: Wed Jun 19, 2013 10:46 pm

Delete Files on FTP Site Through Command Line

Post by ET1998 »

I have uploaded and downloaded files from the command line just fine. Is there a way to delete files on the target FTP site from the command line?

Thanks in advance.
ForumAdmin
Site Admin
Posts: 1004
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

-delsrc
ET1998
Posts: 2
Joined: Wed Jun 19, 2013 10:46 pm

Post by ET1998 »

Is that command only for FTP Pro version?
ForumAdmin
Site Admin
Posts: 1004
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

it is not
slydog
Posts: 1
Joined: Thu Sep 19, 2013 3:30 pm

Post by slydog »

Is this supposed to work for uploads as well? I am seeing the files delete even though they are not successfully uploading.
ForumAdmin
Site Admin
Posts: 1004
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

You may just be confusing the failure of the MDTM command, it would not delete the file unless the server confirmed the transfer was successful.

If you do have a log demonstrating that the transfer failed and the file was deleted, definitely post it.
Locked