Page 1 of 1

Add empty directory

Posted: Wed May 04, 2005 11:11 pm
by davidfung
I added my entire project tree recursively to ftpvc but ftpvc does not create any directory if it is empty. My application requires those empty directories in order to work properly. Is there a way to configure ftpvc to create empty directory in the repository even it the directory is empty?

Posted: Thu May 05, 2005 3:08 am
by psguru
No. FtpVC is file-based, and if there's no files to added, no empty directory will be created. You'll have to add empty directories manually.

That got me too

Posted: Thu May 05, 2005 9:21 am
by grimblefritz
I'd second the vote for adding empty directories when doing a recursive add.

But, if the app is coded to scan for files, that would be a fundamental change.

Probably easier to just add a dummy file and then delete it later.

Posted: Thu May 05, 2005 11:51 am
by psguru
OK, I'll add both of your votes to the new "Option to add empty directories when doing a recursive add" feature request.

Posted: Thu May 05, 2005 7:47 pm
by davidfung
Thanks grimblefritz for the workaround, and thanks psguru for adding our votes.