Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden files in Parent directory #6847

Closed
cyberduck opened this issue Aug 31, 2012 · 6 comments
Closed

Hidden files in Parent directory #6847

cyberduck opened this issue Aug 31, 2012 · 6 comments
Labels
bug ftp FTP Protocol Implementation worksforme

Comments

@cyberduck
Copy link
Collaborator

9026a2a created the issue

I am having trouble viewing 'ALL' hidden files.
I have turned on 'show hidden files' option and can see hidden files, HOWEVER, I cannot see hidden files that are directly within the parent folder. I.e. when I make a connection - the first directory shown does not show hidden files, however, if the hidden files are at least one folder deep, then I can see the hidden files.
I know there is a hidden .htaccess file in my main folder (confirmed when using a different FTP client), but would like to continue using Cyberduck if possible.
I currently have the latest Cyberduck version ( Version 4.2.1 (9350) ). Can someone please let me know if there is a fix for this? Thanks.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please post the transcript from the log drawer (⌘-L).

@cyberduck
Copy link
Collaborator Author

9026a2a commented

220---------- Welcome to Pure-FTPd [TLS] ----------
220-Local time is now 09:01. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER ftp@mywebsite.nu
331 User ftp@mywebsite.nu OK. Password required
PASS ******
230-User ftp@mywebsite.nu has group access to:  502      504      80      
230- 79       505      81       98       503      20      
230 OK. Current directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 ESTP
 PASV
 EPSV
 SPSV
 ESTA
 AUTH TLS
 PBSZ
 PROT
 UTF8
211 End.
OPTS UTF8 ON
200 OK, UTF-8 enabled
NOOP
200 Zzz...
SYST
215 UNIX Type: L8
STAT /
213-STAT
drwxr-xr-x    9 501      20            306 Aug 28 16:35 bannerprinters
drwxr-xr-x    7 501      20            238 Mar 29 11:47 facebook
drwxr-xr-x   26 501      20            884 Aug 31 15:38 website
213 End.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

The server returns no hidden files for the root directory. This may be only when using STAT as the directory listing command. You can try to disable the use of STAT.

@cyberduck
Copy link
Collaborator Author

9026a2a commented

I performed the command line in my terminal and here is the output - I still cannot see the hidden file.

220---------- Welcome to Pure-FTPd [TLS] ----------
220-Local time is now 09:46. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER ftp@mywebsite.nu
331 User ftp@mywebsite.nu OK. Password required
PASS ******
230-User ftp@mywebsite.nu has group access to:  502      504      80      
230- 79       505      81       98       503      20      
230 OK. Current directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 ESTP
 PASV
 EPSV
 SPSV
 ESTA
 AUTH TLS
 PBSZ
 PROT
 UTF8
211 End.
OPTS UTF8 ON
200 OK, UTF-8 enabled
NOOP
200 Zzz...
SYST
215 UNIX Type: L8
CWD /
250 OK. Current directory is /
TYPE A
200 TYPE is now ASCII
PASV
227 Entering Passive Mode (81,26,217,237,229,211)
MLSD
150 Accepted data connection
type=dir;sizd=306;modify=20120828143520;UNIX.mode=0755;UNIX.uid=501;UNIX.gid=20;unique=e00000bg1d47a68; bannerprinters
type=dir;sizd=238;modify=20120329094736;UNIX.mode=0755;UNIX.uid=501;UNIX.gid=20;unique=e00000bg18a7434; facebook
type=dir;sizd=884;modify=20120831133857;UNIX.mode=0755;UNIX.uid=501;UNIX.gid=20;unique=e00000bg1d5965c; website
226-Options: -l 
226 3 matches total

@cyberduck
Copy link
Collaborator Author

@dkocher commented

This is really a server issue if there are indeed hidden files not being returned in the listing. But you can additionally disable MLSD which will cause Cyberduck to fall back to the LIST command which might give different results. But again, the server should return consistent results here.

@cyberduck
Copy link
Collaborator Author

9026a2a commented

PERFECT!!!! I disabled the MLSD and can now see my hidden file!!!!! :) Thank you very much!

230 OK. Current directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 ESTP
 PASV
 EPSV
 SPSV
 ESTA
 AUTH TLS
 PBSZ
 PROT
 UTF8
211 End.
OPTS UTF8 ON
200 OK, UTF-8 enabled
NOOP
200 Zzz...
SYST
215 UNIX Type: L8
CWD /
250 OK. Current directory is /
TYPE A
200 TYPE is now ASCII
PASV
227 Entering Passive Mode (81,26,217,237,215,218)
LIST -a
150 Accepted data connection
drwxr-xr-x    6 501      20            204 Aug 31 15:34 .
drwxr-xr-x    6 501      20            204 Aug 31 15:34 ..
-rw-r--r--    1 501      20           1003 Aug 31 14:04 .htaccess
drwxr-xr-x    9 501      20            306 Sep  3 10:01 bannerprinters
drwxr-xr-x    7 501      20            238 Mar 29 11:47 facebook
drwxr-xr-x   26 501      20            884 Aug 31 15:38 website
226-Options: -a -l 
226 6 matches total

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug ftp FTP Protocol Implementation worksforme
Projects
None yet
Development

No branches or pull requests

1 participant