RoboDK Forum
Sending programs to raspberry pi via FTP- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: General questions about RoboDK (//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: Sending programs to raspberry pi via FTP (/Thread-Sending-programs-to-raspberry-pi-via-FTP)



Sending programs to raspberry pi via FTP-PiotrekP-03-30-2023

Hi.

我设置FTP服务器覆盆子π表示to the tutorial:
https://phoenixnap.com/kb/raspberry-pi-ftp-server

It works, I send files via FileZilla.

When I try to send a program from RoboDK by selecting "Send program to robot" it doesn't work. I get a message: "Remote path not found or can't be created: /home/pi/FTP/files"
In the "Connect robot" window, I enter the same parameters as in FileZilla

Do you have an idea what I did wrong? What can I improve?


RE: Sending programs to raspberry pi via FTP-Albert-03-30-2023

It looks like the FTP connection worked but the path does not exist.

Does the folder exist?
Did you use the correct user name and password? (with enough privileges to transfer files and create folders)


RE: Sending programs to raspberry pi via FTP-PiotrekP-03-31-2023

Hi,
In the "Connect robot" window, I enter exactly the same data as in Filezilla. In Filezilla it works, in RoboDK it doesn't.
Perhaps I should configure something in the options of RoboDK itself?


RE: Sending programs to raspberry pi via FTP-PiotrekP-03-31-2023

I have solved my problem.

My mistake was entering the full location of the FTP folder in the 'Remote FTP path' field.
Following the tutorial, we add the following lines to the vsftpd.conf file:
user_sub_token=$USER
local_root=/home/$USER/FTP
This already indicates the location of the FTP folder. So if I enter only '/files' in "Remote FTP path" in "RoboDK , everything works correctly.