Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
in Java FTP by (300 points)
The FTP user's home directory is "/home/user". But the user has access to "/tmp" in the root directory. When trying to do FTPClient.chdir("/tmp"), the following error occurs - "com.enterprisedt.net.ftp.FTPException: 550 Failed to change directory.". The "/tmp" folder is accesible via WinSCP.

Directory structure:

+ /   (root)

++ home

++++user   (User's home directory)


Jar version - edtftpj-pro-5.3.2

1 Answer

0 votes
by (5.8k points)


Have you tried using the absolute path in order to chdir ? Also please see a previous similar article on this here.