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

Attempting FTP operation but getting blocked by firewall

  • swampwaffle85
  • July 1, 2024 at 9:25 PM
  • Thread is Unresolved
  • swampwaffle85
    Posts
    3
    • July 1, 2024 at 9:25 PM
    • #1

    I've been through several threads and still cannot access the directory on the controller using FTP. I've tried using FileZilla, Command Prompt, web browser, and it seems the firewall is the main issue. According to our IT department we should have ports TCP-21-22, TCP-443, and UDP 137-138 flowing now. I'm still unable to access anything. From the firewall logs its blocking port 80 which is another HTTP, I tried changing the firewall rules to allow port 80 but the network team is pushing back on this due to audit purposes. Does any have any input on this?

  • SkyeFire July 1, 2024 at 10:19 PM

    Approved the thread.
  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,075
    • July 1, 2024 at 11:14 PM
    • #2

    Port 21 for FTP ist correct. Also ask your IT guys to open port 20 (just to be sure). Did you read the FTP chapter of the Ethernet manual (e.g. B-82974EN/04)?

    Can you share the FTP config of the robot side and also of the client you are using. Also post the config of your Ethernet ports 1 and 2. You have to make sure that they are not in the same subnet. Do you get any messages when trying to connect?

  • swampwaffle85
    Posts
    3
    • July 2, 2024 at 3:22 PM
    • #3

    I've followed the user manual to a T.

    FTP settings on the robot are I have the server S1 configured and it's defined and started. I am connecting to Port 2 of the robot, which is connected to our plant network. I'm connecting to it with a virtual machine in the plant that's on the same network.

    I'm not getting any errors when I connect with command prompt, and I'm actually able to connect to the robot with FTP but when I attempt any operation with FTP, it hangs and I don't get anything. I tried using FileZilla and I get the error "Failed to retrieve directory listing" (see other attached). When I attempt to connect over a web browser, it can't make the connection and times out.

    When you are asking about the ethernet ports and whether they're on the same subnet, do you mean the controller ethernet ports? If so, yes, Port 1 and Port 2 are on 255.255.255.0

    Images

    • 2024-07-02 09_10_13-Window.png
      • 9.87 kB
      • 363 × 199
      • 4
  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • July 2, 2024 at 3:58 PM
    • #4
    Quote from swampwaffle85

    I'm not getting any errors when I connect with command prompt, and I'm actually able to connect to the robot with FTP but when I attempt any operation with FTP, it hangs and I don't get anything. I tried using FileZilla and I get the error "Failed to retrieve directory listing" (see other attached).

    Ah, now that is a quirk of how FZ and Fanuc work, with default directories and listing. There's a fix in the forum for that. I had to apply it to my FZ -- you need to use the Site Manager, and connect that way instead of using the QuickConnect option:

    That might not be the entire thing, but there's posts in the forum archives that go into complete detail.

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,075
    • July 2, 2024 at 4:31 PM
    • #5

    Check this thread:

    Post

    RE: How to conect to the robot FTP server?

    […]

    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
    DS186
    June 29, 2022 at 8:11 AM
  • SkyeFire July 2, 2024 at 4:59 PM

    Selected a post as the best answer.
  • swampwaffle85
    Posts
    3
    • July 2, 2024 at 5:03 PM
    • #6

    I've actually updated all settings in site manager to exactly what's in the threads here. I'm not using quick connect. I still get directory listing failed.

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,075
    • July 2, 2024 at 9:48 PM
    • #7
    Quote from swampwaffle85

    FTP settings on the robot are I have the server S1 configured and it's defined and started. I am connecting to Port 2 of the robot, which is connected to our plant network. I'm connecting to it with a virtual machine in the plant that's on the same network.

    Could you try it with Ethernet port 1? It seems that it is not always working when using port 2.

    Post

    RE: How to conect to the robot FTP server?

    Thanks for providing your solution. That is odd, I was pretty sure that it should also work with port 2 (although I'm normally only using port 1).

    I did some research and found this thread. Check the last post. This does not explain why it didn't work with port 2 but it is an intersting statement.
    DS186
    June 29, 2022 at 9:39 PM
    Quote from swampwaffle85

    When you are asking about the ethernet ports and whether they're on the same subnet, do you mean the controller ethernet ports? If so, yes, Port 1 and Port 2 are on 255.255.255.0

    Yes, the Ethernet ports located on the mainboard. I'm talking about the IP addresses. Make sure that the IP addresses are not in the same subnet.

    I have created a "How to FTP". I will send you a PM with the document. Maybe it is helpful for you.

  • pdl
    Reactions Received
    270
    Trophies
    9
    Posts
    1,548
    • July 2, 2024 at 11:20 PM
    • #8

    You can try these setting for your advanced tab if using FileZilla:

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Tags

  • Fanuc
  • FTP
  • R30ib plus
  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