Delete recursive directorys with FTP command on Bash

Posted by Fake4d on Server Fault See other posts from Server Fault or by Fake4d
Published on 2011-01-12T07:28:49Z Indexed on 2011/01/12 7:55 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

I have a problem with my infrastructure here.

I am in a closed DMZ and have to access a FTP-Server in another DMZ from a headless Suse Linux 10.1.

So i think i only got the ftp command.. But i have to delete a directory with about 100 subdirectorys and endless files in it..

When I type

del directory

it returns "Its not empty" and so i have to delete each sub directory and file manually.

Oh please tell me a way how i can do this automatically :)

© Server Fault or respective owner

Related posts about linux

Related posts about bash