/public_html

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
SYakoban
500 Command not understood
Posts: 4
Joined: 2023-03-22 20:19
First name: Steve

/public_html

#1 Post by SYakoban » 2023-03-22 20:24

Hi,

I've used FileZilla for a million years. A year or so ago connecting to /public_html stopped working. It's finally annoyed me enough to get help.

/public_html is there on the server directory and I can manually click into it. I have it set on the advanced tab in the "Default remote directory:" field. The problem is that it is ignored at the time of connection and I am placed at the true root of the server.

Why?

How do I fix it?

Thanks!

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

Re: /public_html

#2 Post by botg » 2023-03-22 21:09

FileZilla has not been around for a million years, and neither has my sense of humor. Only on monday mornings do I feel like a million years old :wink:
The problem is that it is ignored at the time of connection and I am placed at the true root of the server.
How exactly do you connect to the server, ie. where do you click with your mouse and which buttons do you press on your keyboard?

SYakoban
500 Command not understood
Posts: 4
Joined: 2023-03-22 20:19
First name: Steve

Re: /public_html

#3 Post by SYakoban » 2023-03-23 05:15

It's been a staple tool for a long time. Thank you.

To connect, I first click the File menu option and choose Site Manager.

I choose the site I want from the left Select entry window.

I click Connect on the bottom right.

On the Advanced tab I have /public_html in the field in Default remote directory, but it just won't go there.

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

Re: /public_html

#4 Post by boco » 2023-03-23 05:24

Does it attempt to CWD into /public_html and maybe gets an error (shown in red in the log pane)?
botg wrote:Only on monday mornings do I feel like a million years old :wink:
Just not enough coffee. :mrgreen:
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

SYakoban
500 Command not understood
Posts: 4
Joined: 2023-03-22 20:19
First name: Steve

Re: /public_html

#5 Post by SYakoban » 2023-03-23 18:22

Status: Retrieving directory listing of "/public_html"...
Command: cd "/public_html"
Error: Directory /public_html: no such file or directory
Command: pwd
Response: Current directory is: "/home/fireplug"
Command: ls
Status: Listing directory /home/fireplug
Status: Directory listing of "/home/fireplug" successful


From the site:

logs
mail
perl5
public_ftp
public_html
ssl
tmp
www

iam_sysop
226 Transfer OK
Posts: 62
Joined: 2021-10-08 21:33

Re: /public_html

#6 Post by iam_sysop » 2023-03-23 22:49

Not to jump in on the help - but maybe either adding a . to the path: ./public_html (or removing the slash) --

-- or --

/home/fireplug/public_html

Reasoning:

It seems like your server is identifying / as the available root -- when most servers don't let you see directories above yours, it seems your server shows you the full path. In my experience for something like that - when you get logged in and PWD the current directory right at login -- yours shows "/home/fireplug" as your "login root". So you would most likely have make your setting "relative" by either adding a . in front ( ./public_html ), or removing the / and just have public_html

-- OR treat it as absolute and use the full path in your setting "/home/fireplug/public_html" --

One or both of those should work --

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

Re: /public_html

#7 Post by boco » 2023-03-24 00:46

From what I know, only absolute paths are supported.

Code: Select all

/home/fireplug/public_html

So, the issue is that you are not starting in the root directory, but already in a subdirectory. The public_html is located below the subdirectory as well, and not below the server root. A directory /public_html does therefore not exist. Use the aforementioned true path for your case and it will work.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

SYakoban
500 Command not understood
Posts: 4
Joined: 2023-03-22 20:19
First name: Steve

Re: /public_html

#8 Post by SYakoban » 2023-03-24 01:07

SUPERCOOL!!!

/home/fireplug/public_html resolved it.

Thank you boco!

Thank you iam_sysop!

Post Reply