Java FTPS Connection: User access denied

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

Status
Für weitere Antworten geschlossen.

Accendere

Benutzer
Registriert
12. Jan. 2022
Beiträge
2
Reaktionspunkte
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

Hello
and welcome.
You have to edit your user.
Control Panel - User - mark your user - Edit - Applications - FTP

Regards Götz
 
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
Status
Für weitere Antworten geschlossen.
 

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