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?
Attempting FTP operation but getting blocked by firewall
-
swampwaffle85 -
July 1, 2024 at 9:25 PM -
Thread is Unresolved
-
-
SkyeFire
July 1, 2024 at 10:19 PM Approved the thread. -
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?
-
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
-
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.
-
Check this thread:
PostRE: 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-8DS186June 29, 2022 at 8:11 AM -
-
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.
-
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.
PostRE: 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.DS186June 29, 2022 at 9:39 PM 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.
-
You can try these setting for your advanced tab if using FileZilla: