hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

delete files in subdirectories

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions
View previous topic :: View next topic  
Author Message
gsai



Joined: 22 Jul 2009
Posts: 4

PostPosted: Wed Jul 22, 2009 2:20 am    Post subject: delete files in subdirectories Reply with quote

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
View user's profile Send private message
gsai



Joined: 22 Jul 2009
Posts: 4

PostPosted: Wed Jul 22, 2009 12:47 pm    Post subject: Reply with quote

precision : we use AbleFtp 7.42
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Jul 23, 2009 11:42 am    Post subject: Reply with quote

None of the FTP/SFTP tasks support directory tree deletion. There is no solution to this from AbleFtp.
Back to top
View user's profile Send private message
gsai



Joined: 22 Jul 2009
Posts: 4

PostPosted: Thu Jul 23, 2009 11:44 am    Post subject: Reply with quote

do you think it is possible to loop on subdirectories and delete each one, one by one?
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Jul 23, 2009 12:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
gsai



Joined: 22 Jul 2009
Posts: 4

PostPosted: Thu Jul 23, 2009 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group