Java FTPS Connection: User access denied

Accendere

Benutzer
Mitglied seit
12. Jan 2022
Beiträge
2
Punkte für Reaktionen
0
Punkte
1
I'm currently working on a java application which should access an synology-nas through ftps.
But somehow I always get the error-message "530 User <myUser> access denied" and I can't figure out what is the problem there.
Even with filezilla or cyberduck I can't connect and in the logs of synology are no log-entries written of my connection-trys.

- Working with the "org.apache.commons.net.ftp"-libary.
- User credentials are correct
- Access with SFTP is working without problems.

You can find my java-code and synology-ftp-settings in the attachment (Had to censor some parts).
Does someone have a hint whats the problem there?

Thanks in advance.
 

Anhänge

  • errors_Synology_FTP_Settings.png
    errors_Synology_FTP_Settings.png
    59 KB · Aufrufe: 6
  • errors_Synology_Connection_Main.txt
    784 Bytes · Aufrufe: 2

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
14.019
Punkte für Reaktionen
273
Punkte
393
Hello
and welcome.
You have to edit your user.
Control Panel - User - mark your user - Edit - Applications - FTP

Regards Götz
 

Accendere

Benutzer
Mitglied seit
12. Jan 2022
Beiträge
2
Punkte für Reaktionen
0
Punkte
1
Thanks for your fast response.

The change in the user-settings solved the problem as seen in the attachment.
Topic can be closed.
 

Anhänge

  • Solution_UserSettings_Synology.png
    Solution_UserSettings_Synology.png
    181,6 KB · Aufrufe: 8


 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat