Add empty directory

General questions about using FtpVC, ideas for new features, bug reports, and usage tips.
Post Reply
davidfung
Junior Member
Posts: 13
Joined: Tue Jan 25, 2005 10:03 pm

Add empty directory

Post 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?
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post 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.
psguru
PrestoSoft
grimblefritz
Junior Member
Posts: 13
Joined: Sun Nov 28, 2004 8:37 am

That got me too

Post 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.
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post 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.
psguru
PrestoSoft
davidfung
Junior Member
Posts: 13
Joined: Tue Jan 25, 2005 10:03 pm

Post by davidfung »

Thanks grimblefritz for the workaround, and thanks psguru for adding our votes.
Post Reply