1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

How to conect to the robot FTP server?

  • padin33
  • June 28, 2022 at 9:30 PM
  • Thread is Unresolved
  • padin33
    Reactions Received
    1
    Trophies
    3
    Posts
    29
    • June 28, 2022 at 9:30 PM
    • #1

    Hi!

    I have a M900iB 280L robot with R30iB Plus.

    In the Host Comm TCP/IP I have configured the port #1 and port #2.

    Now I'm trying to conect to the FTP server via port #2. Is this possible??

  • DS186
    Reactions Received
    198
    Trophies
    6
    Posts
    1,049
    • June 28, 2022 at 9:51 PM
    • #2

    Yes this ist possible. Make sure that one of the server tags on the robot side is running. For newer controllers S1 and S2 are defined and started by default. You can for example use FileZilla as a FTP client to connect to the robot.

  • Nation
    Typical Robot Error
    Reactions Received
    523
    Trophies
    9
    Posts
    1,901
    • June 28, 2022 at 9:53 PM
    • #3

    Also, make sure port 2 is not on the same subnet as port 1. Won't work if it is.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • padin33
    Reactions Received
    1
    Trophies
    3
    Posts
    29
    • June 28, 2022 at 10:48 PM
    • #4
    Quote from DS186

    Yes this ist possible. Make sure that one of the server tags on the robot side is running. For newer controllers S1 and S2 are defined and started by default. You can for example use FileZilla as a FTP client to connect to the robot.

    Thank you DS186!

    I have S1 and S2 started but I'm not able to entablish a conection with FileZilla or even with de Windows CMD.

    FileZilla is giving me this output:

    Quote

    Status: Conecting to 192.168.1.17:21...

    Status: Conection established, waiting for welcome message...

    Status: Plain FTP is not secure. Please change to FTP over TLS.

    Command: USER anonymous

    Response: 331 Password required for user anonymous

    Command: PASS *********************

    Response: 530 Authorization failed

    Error: Critic Error: Could not conect to server

    Display More

    So it seems the user "anonymous" has password but I've tried changing the user and is always the same.


    If I try with the Windows cmd I have this:

    Quote

    ftp> open 192.168.1.17

    Conecting to 192.168.1.17.

    220 Wind River FTP server 6.8 ready.

    500 Invalid command: "OPTS"

    User (192.168.1.17:(none)): anonymous

    331 Password required for user anonymous

    Password:

    501 Invalid number of arguments

    Display More

    Something weird here is I'm connecting to a "Wind River FTP server 6.8" Is this the fanuc FTP server?

    I'm guessing something is wrong in my net

  • padin33
    Reactions Received
    1
    Trophies
    3
    Posts
    29
    • June 28, 2022 at 10:59 PM
    • #5
    Quote from Nation

    Also, make sure port 2 is not on the same subnet as port 1. Won't work if it is.

    It should be good as port 1 is 10.172.xxx.xxx and port 2 is 192.168.1.17

  • DS186
    Reactions Received
    198
    Trophies
    6
    Posts
    1,049
    • June 28, 2022 at 11:07 PM
    • #6

    Can you please provide some details from your settings on the FileZilla side? Best would be screenshots. Did you uncheck the password checkbox under the account settings in FileZilla?

  • DS186
    Reactions Received
    198
    Trophies
    6
    Posts
    1,049
    • June 28, 2022 at 11:17 PM
    • #7
    Quote from padin33

    If I try with the Windows cmd I have this:

    Something weird here is I'm connecting to a "Wind River FTP server 6.8" Is this the fanuc FTP server?

    In case the robot controller is the only FTP server in your network then yes. I guess the FTP server used from Fanuc has been developed by Wind River.

  • padin33
    Reactions Received
    1
    Trophies
    3
    Posts
    29
    • June 28, 2022 at 11:29 PM
    • #8
    Quote from DS186

    Can you please provide some details from your settings on the FileZilla side? Best would be screenshots. Did you uncheck the password checkbox under the account settings in FileZilla?

    Sure! I attach the screenshots. It's in Spanish, sorry about that

    I'm connecting as Anonymous


    Thank you for your help!

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • June 29, 2022 at 2:43 AM
    • #9

    Picture shows my setup with the robot i'm working

    My computer is 10.103.102.125 and the robot 10.103.102.124

    Images

    • Annotation 2022-06-28 204121.jpg
      • 234.54 kB
      • 1,590 × 891
      • 223

    Retired but still helping

  • DS186
    Reactions Received
    198
    Trophies
    6
    Posts
    1,049
    • June 29, 2022 at 8:11 AM
    • #10
    Quote from padin33

    Sure! I attach the screenshots. It's in Spanish, sorry about that

    I'm connecting as Anonymous


    Thank you for your help!

    Your default remote directory is incorrect. Enter md:\ instead of \. Also check the other settings in your site manager:

    General:

    Host: IP address of your robot

    Port: 21 (you can enter the port but it is not necessary)

    Encryption: Only use plain FTP

    Logon type: In your case it is Anonymous

    Advanced:

    Server type: DOS with backslash separators

    Default remote directory: md:\

    Transfer settings:

    Transfer mode: Default

    Charset:

    Charset encoding for filenames: Force UTF-8

    Images

    • FileZilla_FTP.PNG
      • 62.18 kB
      • 1,191 × 492
      • 92
  • padin33
    Reactions Received
    1
    Trophies
    3
    Posts
    29
    • June 29, 2022 at 2:35 PM
    • #11
    Quote from Fabian Munoz

    Picture shows my setup with the robot i'm working

    My computer is 10.103.102.125 and the robot 10.103.102.124

    In my case robot is 1921.168.1.17 and my computer is 192.168.1.248, but it seems to be something with the log in

    Quote from DS186

    Your default remote directory is incorrect. Enter md:\ instead of \. Also check the other settings in your site manager:

    General:

    Host: IP address of your robot

    Port: 21 (you can enter the port but it is not necessary)

    Encryption: Only use plain FTP

    Logon type: In your case it is Anonymous

    Advanced:

    Server type: DOS with backslash separators

    Default remote directory: md:\

    Transfer settings:

    Transfer mode: Default

    Charset:

    Charset encoding for filenames: Force UTF-8

    Display More

    Thank you DS186. I put all the parameters as you said but I'm still stuck in the same step:

    Quote

    Status: Conecting to 192.168.1.17:21...

    Status: Conection established, waiting for welcome message...

    Status: Plain FTP is not secure. Please change to FTP over TLS.

    Command: USER anonymous

    Response: 331 Password required for user anonymous

    Command: PASS *********************

    Response: 530 Authorization failed

    Error: Critic Error: Could not conect to server

    Display More

    I tried to create a user/password in the Host Comm -> Servers -> S1 and S2

    I tried also to create a user/password in Host Comm -> Protocols -> FTP -> C1 and C2

    Nothing solve the problem

  • DS186
    Reactions Received
    198
    Trophies
    6
    Posts
    1,049
    • June 29, 2022 at 3:29 PM
    • #12

    Did you try to create another user and password?

  • padin33
    Reactions Received
    1
    Trophies
    3
    Posts
    29
    • June 29, 2022 at 3:50 PM
    • #13
    Quote from DS186

    Did you try to create another user and password?

    I tried to create a user/password in the Host Comm -> Servers -> S1 and S2

    I tried also to create a user/password in Host Comm -> Protocols -> FTP -> C1 and C2

    But I'm having the same problem, maybe I'm missing some step. Should I make a cycle power after create new user?

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • June 29, 2022 at 4:03 PM
    • #14

    Hi

    FYI

    I'm developing a python program to help me with the Fanuc functions

    One of the things I do is connect to the robot and backup, etc, etc

    Here is a picture of that part of the software that deals with the connection. No login, no password, no port specified and it works. You can see the result on the right side (file directory)

    The FTP command in python defaults to port 21

    Retired but still helping

  • DS186
    Reactions Received
    198
    Trophies
    6
    Posts
    1,049
    • June 29, 2022 at 4:12 PM
    • #15
    Quote from padin33

    I tried to create a user/password in the Host Comm -> Servers -> S1 and S2

    I tried also to create a user/password in Host Comm -> Protocols -> FTP -> C1 and C2

    But I'm having the same problem, maybe I'm missing some step. Should I make a cycle power after create new user?

    I mean on the site manager in FileZilla. Create there a new user instead of anonymous. You don't need to adjust something on the robot side.

  • DS186
    Reactions Received
    198
    Trophies
    6
    Posts
    1,049
    • June 29, 2022 at 4:20 PM
    • #16

    The message regarding user and password from one of your posts above mean the logon type settings in FileZilla (user and password).

  • padin33
    Reactions Received
    1
    Trophies
    3
    Posts
    29
    • June 29, 2022 at 4:32 PM
    • #17
    Quote from Fabian Munoz

    Hi

    FYI

    I'm developing a python program to help me with the Fanuc functions

    One of the things I do is connect to the robot and backup, etc, etc

    Here is a picture of that part of the software that deals with the connection. No login, no password, no port specified and it works. You can see the result on the right side (file directory)

    The FTP command in python defaults to port 21

    Display More

    Nice! In the past I was able to conect to other Fanuc robots with the FileZilla and no problem, but IDK what's going on with this robot

    Quote from DS186

    The message regarding user and password from one of your posts above mean the logon type settings in FileZilla (user and password).

    Exactly so I don't know where is the problem. It seems FileZilla is able to create the conection but it's failing doing the log in.

    I followed your idea of create an user in the FileZilla site manager but then I have to create also in the robot side no?

  • DS186
    Reactions Received
    198
    Trophies
    6
    Posts
    1,049
    • June 29, 2022 at 4:38 PM
    • #18

    There are no changes necessary on the robot side. It will work with the default FTP settings. Personally I have never touched the FTP settings on the robot. Setting up FileZilla correctly was the only thing to do all the time.

  • DS186
    Reactions Received
    198
    Trophies
    6
    Posts
    1,049
    • June 29, 2022 at 4:45 PM
    • #19

    Some time ago I have created a short How To description on setting up FileZilla correctly to be able to connect to a FANUC robot. I can send you the document tomorrow when I am back in the office. It is in German, but that should not be a problem.

  • padin33
    Reactions Received
    1
    Trophies
    3
    Posts
    29
    • June 29, 2022 at 5:16 PM
    • #20
    Quote from DS186

    Some time ago I have created a short How To description on setting up FileZilla correctly to be able to connect to a FANUC robot. I can send you the document tomorrow when I am back in the office. It is in German, but that should not be a problem.

    Thank you so much DS186!

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • TCP connection and data transmission error

    • Sugrej
    • June 15, 2018 at 9:57 AM
    • Comau Robots
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download