using these tools:
HiddenServicePort 4242 127.0.0.1:4343
[ftp] path = /home/ftp comment = ftp export area read only = false use chroot = truethis sets up a rsync target named 'ftp', you have to make sure that rsync has permissions to write /home/ftp, and that the directory exists.
rsync --daemon --address 127.0.0.1 --port 4343
[hiddenservicedir]/hostname
file.
socat TCP4-LISTEN:4141,fork SOCKS4A:localhost:targethost.onion:4242,socksport=9050
rsync file rsync://localhost:4141/ftp
perl torreceive.plthis will print the hiddenservice name:
listening on sad98ad08a0d8jui.onion:873
perl torsend.pl somefile sad98ad08a0d8jui.onion:873