Use FTP to transfer URScript to PolyScope
File Transfer Protocol (FTP) is a standard network protocol used to transfer files between a client and server on a computer network. In this case, the Universal Robots Robot will act as the server. This tutorial will guide you through the process of using FTP to transfer URScript files to your robot.
Prerequisites
FTP client software installed on your computer (e.g., FileZilla for GUI, built-in FTP command-line tools for Windows, macOS, or Linux).
Enable ftp and ssh in PolyScope 5
Enable ssh service in PolyScope Universal Robots Polyscope 5 Manual Secure Shell
Open ssh/sftp port (port 22)
In PolyScope, you need to open port 22 here Universal Robots Polyscope 5 Manual Port Config
To open port 22 and leave all other ports closed, type “1-21,23-65535”. Note that the ports that are opened by services like MODBUS, DashboardServer etc. are still open.
Enable ftp and ssh in PolyScopeX
Enable ssh/sftp service in PolyScope Universal Robots Polyscope X Manual Secure Shell
Using a GUI FTP Client (FileZilla)
Feel free to use any FTP client. This tutorial uses FileZilla, as it is a free open source solution.
Step 1: Download and Install FileZilla
Download FileZilla from the official website. Follow the installation instructions for your operating system.
Step 2: Open FileZilla
Launch the FileZilla application after installation.
Step 3: Connect to the FTP Server
At the top of the FileZilla window, you will see fields for Host, Username, Password, and Port.
Host: Enter your robot IP address
Username: root
Password: easybot (or what the admin password is set to)
Port: 22
Click the Quickconnect button.
Step 4: Navigate the File Systems
The left pane displays your local file system.
The right pane displays the remote file system.
When you connect to the robot, the default remote site will be /root. Navigate to the /programs directory to see existing program and script files.
Step 5: Transfer Files
To download files, drag and drop files from the right pane (remote server) to the left pane (local machine).
To upload files, drag and drop files from the left pane (local machine) to the right pane (remote server).
You can monitor the transfer progress in the bottom pane of the FileZilla window.
Step 6: Disconnect
When you are done, go to the Server menu and select Disconnect.
Using Command-Line FTP
You also have the option to connect to the robot’s FTP server via command line with the same credentials above. See also ssh
