my filezilla is not displaying my remote site after connecting to a server why

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
andrew95
500 Command not understood
Posts: 1
Joined: 2016-04-14 21:36
First name: madubueze
Last name: andrew

my filezilla is not displaying my remote site after connecting to a server why

#1 Post by andrew95 » 2016-04-14 22:06

i connected a saver through filezilla it was successful but the remote site that display the cpanel details where u upload your index to in not displaying if u know the solution please help thanks

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: my filezilla is not displaying my remote site after connecting to a server why

#2 Post by boco » 2016-04-16 01:28

Did you connect to the correct server?
Did you log in correctly?
Are you in the correct remote directory?
Did you receive the remote directory list correctly (no error in the log)?

Generally, the server directory structure is set by the server Administrator, you you'd need to contact server/hosting support for solving problems regarding the server's contents.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

robert.d.johnson.3
500 Command not understood
Posts: 4
Joined: 2021-11-30 20:03
First name: Robert
Last name: Johnson

Re: my filezilla is not displaying my remote site after connecting to a server why

#3 Post by robert.d.johnson.3 » 2021-11-30 20:24

I have a similar issue with the 3.56.2 client.

Did you connect to the correct server? Yes
Did you log in correctly? Yes
Are you in the correct remote directory? Yes, I am in the users root directory.
Did you receive the remote directory list correctly (no error in the log)? Yes

Status: Connected to cis-filexfer.glb.qa.########.com
Status: Retrieving directory listing of "/"...
Status: Listing directory /.
Status: Directory listing of "/" successful

The Remote site shows only /
There should be (are) two sub directories /INT5040d and /INT5141d, neither of which show.

I have been using Filezilla for several months and it has worked well. On the Previous version, this issue started happening. I upgraded to the latest to try to fix is to no avail. I have also turned on debug and checked my filters. No Filters are set and the login was successful.

I initially thought a server issue but I can connect SFTP using the same credentials by hand from the windows prompt and both directories can be seen and I can connect using the same credentials using WinSCP and both directories can be seen. Consequently, this seems to be a client issue but suspect there may be some setting.

Any thoughts?

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: my filezilla is not displaying my remote site after connecting to a server why

#4 Post by botg » 2021-12-01 09:05

If you enable "Show raw directory listings" on the debug page in the settings dialog and then obtain a fresh listing, what does it say in the message log?

robert.d.johnson.3
500 Command not understood
Posts: 4
Joined: 2021-11-30 20:03
First name: Robert
Last name: Johnson

Re: my filezilla is not displaying my remote site after connecting to a server why

#5 Post by robert.d.johnson.3 » 2021-12-01 14:54

I opened Filezilla, turned on "Show raw directory listings" connected to an ID on the SFTP Server and got this.

In the log excerpts below, I cleaned some things but kept things consistent. The remote user is "user769". my ID is "user ID" and the domain is "#######"

The Message Log is:


Status: Connecting to filexfer.cis.qa.#######.com...
Response: fzSftp started, protocol_version=11
Command: open "user769@filexfer.cis.qa.#######.com" 22
Status: Using username "user769".
Command: Pass: ********
Status: Connected to cis-filexfer.glb.qa.#######.com
Status: Retrieving directory listing...
Command: pwd
Response: Current directory is: "/"
Command: ls
Status: Listing directory /.
Status: Directory listing of "/" successful


The Response is "/", not sub directories.

To show you that the server is not the issue, the following is the same thing from the Windows command prompt.


F:\>sftp -v user769@filexfer.cis.qa.#######.com
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
debug1: Connecting to filexfer.cis.qa.#######.com [Internal IP] port 22.
debug1: Connection established.
debug1: identity file C:\\Users\\userID/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.7
debug1: Remote protocol version 2.0, remote software version GatewaySSH-1.0
debug1: no match: GatewaySSH-1.0
debug1: Authenticating to filexfer.cis.qa.#######.com:22 as 'user769'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: ecdh-sha2-nistp256
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:[host key]
debug1: Host 'filexfer.cis.qa.#######.com' is known and matches the RSA host key.
debug1: Found key in C:\\Users\\userID/.ssh/known_hosts:1
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: password,keyboard-interactive,publickey
debug1: Next authentication method: publickey
debug1: Trying private key: C:\\Users\\userID/.ssh/id_xmss
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: password,keyboard-interactive,publickey
debug1: Next authentication method: password
debug1: read_passphrase: can't open /dev/tty: No such file or directory
user769@filexfer.cis.qa.#######.com's password:
debug1: Authentication succeeded (password).
Authenticated to filexfer.cis.qa.#######.com ([Internal IP]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: network
debug1: Sending subsystem: sftp
Connected to user769@filexfer.cis.qa.#######.com.
sftp> pwd
Remote working directory: /
sftp> ls
INT5040d INT5141d

sftp>


As you can see, when done by hand from the windows command line, the connection to the same "user769" returned two directories.

Thanks

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: my filezilla is not displaying my remote site after connecting to a server why

#6 Post by botg » 2021-12-01 15:10

It's a server-side error.
Status: Listing directory /.
The trailing dot is the missing clue. The /. comes straight from the server, it doesn't seem to be able to correctly canonicalize paths via SSH_FXP_REALPATH. See sections 6.2 and 6.11 of https://filezilla-project.org/specs/dra ... fer-02.txt

Which SFTP server software is running on the server machine? Note that the SFTP subsystem is not necessarily the same as the SSH server software.

robert.d.johnson.3
500 Command not understood
Posts: 4
Joined: 2021-11-30 20:03
First name: Robert
Last name: Johnson

Re: my filezilla is not displaying my remote site after connecting to a server why

#7 Post by robert.d.johnson.3 » 2021-12-02 19:13

I will take this to our Gateway Team for them to explore. I am not sure what the SFTP Implementation is but it is an implementation on our API Gateway and I guess could have something to do with the integration to our underlying Object Store. Interesting...

I would point out again that this is not impacting the command line SFTP client from Windows or WinSCP but it does impact PSFTP. This may be a server issue but the impact seems to be specific to only certain clients based on my exposure to a selection of clients.

Thanks for pointing this out and I will follow up.

Thanks

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: my filezilla is not displaying my remote site after connecting to a server why

#8 Post by botg » 2021-12-03 08:44

I suppose it depends on whether the client used makes use of SSH_FXP_REALPATH.

robert.d.johnson.3
500 Command not understood
Posts: 4
Joined: 2021-11-30 20:03
First name: Robert
Last name: Johnson

Re: my filezilla is not displaying my remote site after connecting to a server why

#9 Post by robert.d.johnson.3 » 2021-12-03 14:40

Ahh... I see. It all depends on whether the client depends on absolute or relative paths. In this case, the server is not properly responding to an absolute path request, SSH_FXP_REALPATH request. The Clients working are likely using SSH_FXP_READDIR.

Thanks for your help.

Post Reply