rmdir and files starting with a dot

Here you can submit your bug reports.

rmdir and files starting with a dot

Postby niqbert » Fri Feb 07, 2014 10:42 am

Not sure if this is a bug or an option somewhere.

But we can't delete a directory structure if a directory contains a file starting with a dot .

I believe some of our Mac users leave a .DS_Store in FTP directories they browse.

When using Filezilla connecting to WingFTP v4.2.9 over SSH (SFTP), creating a test directory and creating a .DS_Store file I see this logs:

Status: Creating directory '/dotdirectory'...
Command: mkdir "dotdirectory"
Response: mkdir /dotdirectory: OK
Status: Retrieving directory listing...
Command: cd "dotdirectory"
Response: New directory is: "/dotdirectory"
Command: ls
Status: Listing directory /dotdirectory
Status: Directory listing successful
Status: Starting upload of C:\empty_file_yq744zm
Command: put "C:\empty_file_yq744zm" ".DS_Store"
Status: local:C:\empty_file_yq744zm => remote:/dotdirectory/.DS_Store
Status: File transfer successful, transferred 0 bytes in 1 second
Status: Retrieving directory listing...
Command: cd ".."
Response: New directory is: "/"
Command: ls
Status: Listing directory /
Status: Directory listing successful
Status: Retrieving directory listing...
Command: cd "/dotdirectory"
Response: New directory is: "/dotdirectory"
Command: ls
Status: Listing directory /dotdirectory
Status: Directory listing successful
Command: rmdir "/dotdirectory"
Error: rmdir /dotdirectory: failure
Status: Retrieving directory listing...
Command: cd "/"
Response: New directory is: "/"
Command: ls
Status: Listing directory /
Status: Directory listing successful
niqbert
 
posts 14
 
joined Mon Jul 11, 2011 1:06 pm

Re: rmdir and files starting with a dot

Postby FTP » Fri Feb 07, 2014 5:25 pm

First, it is not a bug, I guess you are running Wing FTP Server on Linux system, so the files starting with a dot are the hidden files. If you want to remove the entire folder, you need to check on the option "User > General > Show files/dirs with hidden attribute".
FTP
Site Admin
 
posts 1220
 
joined Tue Sep 29, 2009 6:09 am


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron