Opened 18 years ago
Last modified 18 years ago
#3060 closed Bug report
empty directory will skip when transfer whole directory
Reported by: | tommywu | Owned by: | Tim Kosse |
---|---|---|---|
Priority: | normal | Component: | Other |
Keywords: | Cc: | tommywu, Tim Kosse | |
Component version: | Operating system type: | ||
Operating system version: |
Description
I don't know this is a bug or feature not implement.
In FZ 2.x, empty directory will be created if we
transfer whole directory.
But in FZ 3, empty directory won't be created, if we
transfer whole directory, only file will be transferred.
for both sftp and ftp, either local or remote.
Attachments (2)
Change History (7)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Thanks for reporting. This issue has been fixed in the CVS
repository and will be available with the next version.
comment:3 by , 18 years ago
I test this for 2006/10/23 night build and today's CVS code,
it work for download, but fail for upload.
create a test case locally:
create directory: test
create directory: test\1
create directory: test\2
create directory: test\3
then upload directory 'test'.
FTP error log from status window as attachment.
I wrote a small patch to add this function. Just add
wxFileName::GetPathSeparator() to local filename, then add
this directory to queue.
when process queue, if last character of local filename is
wxFileName::GetPathSeparator(), then just create the
directory, then return OK.
here is the patch:
http://sourceforge.net/tracker/index.php?func=detail&aid=1580295&group_id=21558&atid=372243