ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

file transfer via ROS

asked 2014-05-14 23:47:52 -0500

LetThemDance gravatar image


I'm searching for an option to transfer a zip-file via ROS. Is there any possibility to do this?

Thanks in advance

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-05-15 07:36:47 -0500

ahendrix gravatar image

This really sounds like you're looking for a linux file-transfer tool such as scp or rsync.

I suppose you could define a new message type, probably with a string field for the file name and byte[] field for the raw data, and publish that on a topic.

edit flag offensive delete link more

answered 2014-05-15 16:26:12 -0500

Mehdi. gravatar image

You could execute a system command for scp directly from your node but probably with no feedback about the status of the transferring. It depends on your use case.

edit flag offensive delete link more


Thanks for your help. I will try to do it with messages.

Thanks Klaus

LetThemDance gravatar image LetThemDance  ( 2014-05-19 03:35:32 -0500 )edit

Question Tools


Asked: 2014-05-14 23:47:52 -0500

Seen: 1,909 times

Last updated: May 19 '14