anonymous FTP not access FTP dir. chdir denied

scarar

Registered
Dec 2, 2013
3
0
1
cPanel Access Level
Root Administrator
Here is what I'm getting for an error using [email protected]:

Status: Connecting to 45.63.11.179:21...
Status: Connection established, waiting for welcome message...
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PORT 10,0,0,67,218,175
Response: 200 PORT command successful
Command: MLSD
Response: 150 Connecting to port 55983
Response: 421 chdir: Permission denied
Error: Failed to retrieve directory listing
Status: Connection closed by server

and also without the @mydomain.net will list:
421 Can't change directory to /var/ftp/ [/]
 
Last edited by a moderator:

24x7server

Well-Known Member
Apr 17, 2013
1,907
95
78
India
cPanel Access Level
Root Administrator
Hello :),

You can not access any directory which is outside the user home directory trough FTP. If you want to access your /var directory then you need to access your server with SFTP using root user login details.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
ok, ty. I had to add the default dir in my FTP client: /my_domain/public_ftp
Hello,

I'm happy to see you were able to determine the cause of the error message. Thank you for updating us with the outcome.