Opened 16 years ago
Last modified 7 years ago
#3836 assigned Bug report
Unable to download/delete a directory if all its contents are filtered
Reported by: | sNop | Owned by: | Luke |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | directory listing filter | Cc: | |
Component version: | Operating system type: | ||
Operating system version: |
Description
Hi,
I know about this bug very long time and I have still hoped that this bug will be fixed in new a release but I have mistaken. :)
So where is the problem ? I will write how reproduce the bug.
Create direcory e.g. test/ and in this direcory create directory .svn/ (or file .svn), turn on "Directory listing filters" and create filter which will filter .svn direcory(or file) and try upload this direcory. Filezilla doesn't upload this directory.
It works with any number of filtered items. But if directory contain some or only one unfiltered dir or file, then the directory will be uploaded.
It affects downloading as well and when You try delete that directory with filtered dir or files on FTP!, Filezilla doesn't delete that folder.
Change History (11)
follow-up: 2 comment:1 by , 16 years ago
Priority: | critical → low |
---|
comment:2 by , 16 years ago
Replying to codesquid:
Care to explain why you flagged this as critical? This is not a security related bug that can be exploited and also does not result in data loss.
sry, You are right and I don't know what exactly that means, but is critical for me :)
Again I'm sorry.
comment:3 by , 16 years ago
I would like to ask, if You can repair this bug, because Filezilla is unusable for me. I can't use filters, because if I use it, I can't rely on its functionality.
And isn't in my power inspect if every direcotry was uploaded.
Thank You
comment:4 by , 15 years ago
Status: | new → moreinfo |
---|
Deleting a directory with files filtered out is working as intended.
The uploading issue should be fixed, can you please try the most recent version?
comment:5 by , 14 years ago
Status: | moreinfo → new |
---|
Hi,
so upload works and delete dirs on local site as well.
But download doesn't, the same when I have set up filter for .svn/ dirs and I create dir e.g. test/ on FTP ( remote site ) and in this dir I create .svn/ dir, so I can't download dir test/ and the same with deletion of the dir test/.
The issue is opened very long time and have big impact to the FileZilla's functionality.
Thank you for fix.
comment:6 by , 13 years ago
Owner: | changed from | to
---|---|
Priority: | low → high |
Status: | new → accepted |
Replying to snop:
Hi,
I know about this bug very long time and I have still hoped that this bug will be fixed in new a release but I have mistaken. :)
So where is the problem ? I will write how reproduce the bug.
Create direcory e.g. test/ and in this direcory create directory .svn/ (or file .svn), turn on "Directory listing filters" and create filter which will filter .svn direcory(or file) and try upload this direcory. Filezilla doesn't upload this directory.
It works with any number of filtered items. But if directory contain some or only one unfiltered dir or file, then the directory will be uploaded.
It affects downloading as well and when You try delete that directory with filtered dir or files on FTP!, Filezilla doesn't delete that folder.
comment:8 by , 13 years ago
Type: | Patch → Bug report |
---|
comment:9 by , 11 years ago
Operating system type: | Windows → OS X |
---|---|
Operating system version: | WindowsXP 64bit → OS X |
Owner: | changed from | to
Priority: | high → normal |
Status: | accepted → assigned |
I also cannot download an empty directory. Is there a flag I have to change somewhere to allow empty directories to be downloaded locally? It's a real pain to go through the entire website directory and check/create/re-create all the directories that weren't transferred... Thanks :)
comment:10 by , 11 years ago
Keywords: | directory listing filter added; upload removed |
---|---|
Operating system type: | OS X |
Operating system version: | OS X |
Summary: | Filezilla doesn't upload empty directory → FileZilla doesn't download/delete empty directory (enabled directory filters) |
This bug report is about the inability to download an empty directory if it only contains filtered items (via directory listing filter) or about deleting it.
The steps to re-produce the problem are given in a comment by snop and they still apply to FileZilla 3.7.1.1.
comment:11 by , 7 years ago
Summary: | FileZilla doesn't download/delete empty directory (enabled directory filters) → Unable to download/delete a directory if all its contents are filtered |
---|
I have tested this with FileZilla Client 3.26.1 (Windows 7). Here are the results.
tl;dr -- Downloading a remote directory that is actually empty works. Downloading a remote directory that is empty because its contents are filtered does not work. But it appears that filtering is working as expected.
The setup uses a local site directory (I've named it local/
in the examples below) with this directory structure:
/ `-- local/ `-- .svn/
I have not created any directories on the remote site root directory (I've named it remote/
in the examples below).
Uploading to the server
- Enable the local site filter named "Source control directories".
- Drag and drop the
local/
directory from the local site to the remote site. - The remote site will now contain this directory structure:
/ `-- local/
Note that the .svn/
directory was not uploaded.
Downloading from the server (filters off)
- Rename the
local/
directory on the remote site. Change its name toremote/
. - Disable the local site filter named "Source control directories".
- Drag and drop the
remote/
directory from the remote site to the local site. - The empty
remote/
directory will be copied to the local site.
Downloading from the server (filters on)
- Delete the
remote/
directory on the local site. - Enter the
remote/
directory on the remote site and create a directory named.svn/
. - Enable the remote site filter named "Source control directories".
- Confirm that the
.svn/
directory on the remote site is no longer visible. - Navigate to the root of the remote site.
- Drag and drop the
remote/
directory from the remote site to the local site. - The
remote/
directory will not be copied to the local site.
Deleting from the server (filters on)
- Attempt to delete the
remote/
directory on the remote site. - The
remote/
directory will fail to delete because it is not empty.
Conclusion
It appears that the filtering is working as expected. However, it may be a bug that there is a difference in behavior when copying a remote directory that is actually empty versus a remote directory that is empty because all of its contents are filtered.
However, it is probably not a bug that FileZilla will not delete a directory containing filtered files and directories.
Care to explain why you flagged this as critical? This is not a security related bug that can be exploited and also does not result in data loss.