XGS1930-28 Ftp error 502

Alberto77
Alberto77 Posts: 6
First Comment First Anniversary
edited August 2022 in Switch
When i try to change dir with ftp i receive this error:
502 Command not yet implemented



I want get and put configuration file, but i can't change dir (i want to go on conf directory).
Thanks

All Replies

  • Zyxel_Jonas
    Zyxel_Jonas Posts: 313  Zyxel Employee
    25 Answers First Comment Friend Collector Fifth Anniversary
    Hi @Alberto77,

    Welcome to Zyxel Community!

    It doesn't need to enter a specific dir.
    You may use get & put command to achieve the goal.

    Steps as follow:
    For standalone switch:
    1. Input get command to get config:


    2. Input put command to restore the config:


    Hope it helps,
    Jonas
    Jonas,
  • I have try your solution but i have this strange behaviour:


    After msg: 200 Port command okay nothing happen, and after a timeout appear msg 425 Data connection reset.
  • Zyxel_Jonas
    Zyxel_Jonas Posts: 313  Zyxel Employee
    25 Answers First Comment Friend Collector Fifth Anniversary
    Hi @alberto77,

    Based on the screenshot, more likely the problem is more related to the application layer, as you could access the switch. I assume that the firewall inbound rule is blocking the FTP service.

    For a simple test, you may disable the PC firewall and wait for a bit and reconnect to switch via FTP. 
    Reminder: It might need a minute to reconnect again as the session needs to finish the traffic flow.

    After disabling the firewall, please try to "get config" again for verification.

    Tips: You may also add an allow inbound rule in the firewall settings if you don't want to disable the whole firewall application.

    Steps as figure below:
    1. 


    2.


    3.


    4.


    5.


    6.


    7. Verification:


    Hope it helps.
    Jonas,
    Jonas,