Re: [Fsp-users] Enable remote directory deletion on FSP-Server?
UDP File transfer protocol
Brought to you by:
hsn
From: Radim K. <hs...@se...> - 2009-08-27 21:00:53
|
> > I wonder why FSP was a successful file transfer utility in older days > when directory deletion doesn't work... removing directory is not mission critical function for file transfer server. > Or has the C function "rmdir()" > changed? Today it removes a directory only if the directory is empty. > i think old code used remove(3), but i am not sure if it was used also for directory removals. > IMHO fspd should first check if there exists any other files and > directories than the FSP-dotfiles in this directory. Then fspd should > delete the FSP-dotfiles with unlink() and after this cleanup calling the > rmdir() function. > yes |