PDA

View Full Version : Skip list - empty directories


Thany
09-29-2005, 06:49 AM
When "skip empty directories" is checked, a directory is still uploaded when it contains subdirectories with only skipped files. Like this:

- somedir (4 files, all skipped)
-- somesubdir1 (2 files, all skipped)
-- somesubdir2 (3 files, all skipped)

Then only "somedir" will be created on the ftp server, while I don't think it should be be created, since it's effectively empty.

Hetfield
09-29-2005, 06:53 AM
Nope, the directory is simply not empty because there are 2 sub directories in it. To overcome this FlashFXP should go through the whole queue to see if it's "effectively empty". This would cause too much overhead for such a minor issue IMHO.

Thany
09-29-2005, 07:39 AM
Then maybe flashfxp should start creating directories on the server as soon as the first file in such a directory is about to be uploaded. THat way, if no files are uploading from within that directory, the directory wouldn't be created.

just my 2 cents...

Hetfield
09-29-2005, 11:57 AM
Well that sounds like a good and easy solution indeed :).