View previous topic :: View next topic |
Author |
Message |
gsai
Joined: 22 Jul 2009 Posts: 4
|
Posted: Wed Jul 22, 2009 2:20 am Post subject: delete files in subdirectories |
|
|
hi
i would like to delete files on a webserver but the "include subdirectories" option does not work
can someone exlain me how easily to deal with this issue?
Thanks
Guillaume |
|
Back to top |
|
 |
gsai
Joined: 22 Jul 2009 Posts: 4
|
Posted: Wed Jul 22, 2009 12:47 pm Post subject: |
|
|
precision : we use AbleFtp 7.42 |
|
Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Thu Jul 23, 2009 11:42 am Post subject: |
|
|
None of the FTP/SFTP tasks support directory tree deletion. There is no solution to this from AbleFtp. |
|
Back to top |
|
 |
gsai
Joined: 22 Jul 2009 Posts: 4
|
Posted: Thu Jul 23, 2009 11:44 am Post subject: |
|
|
do you think it is possible to loop on subdirectories and delete each one, one by one? |
|
Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Thu Jul 23, 2009 12:20 pm Post subject: |
|
|
It will be difficult in AbleFtp 7.x even if you have a matching/mirrored local directory that you can get the subdirectory names from.
In 8.x, if you have matching/mirrored local directory, you can get the subdirectory names using the Subdirectory Loop task. Then for every loop, set the Ftp delete task remote directory name and run the Ftp delete. |
|
Back to top |
|
 |
gsai
Joined: 22 Jul 2009 Posts: 4
|
Posted: Thu Jul 23, 2009 12:24 pm Post subject: |
|
|
thanks a lot!
we have a local mirored directory...
we will think about upgrading AbleFtp
(for now, i am thinking about batching a CMD loop which execute the delete task) |
|
Back to top |
|
 |
|