Menu

Unicast example

Zip Ping
2020-06-03
2020-06-03
  • Zip Ping

    Zip Ping - 2020-06-03

    Hi,
    I'd like to use uftp to transfer a file via UDP from one machine to another using unicast addresses, not multicast. The documentation seems to suggest this can be done but I'm not succeeding yet. I'm trying this on the receiver:

    ./uftpd -d -I <receiveripaddress>

    and this on the sender

    ./uftp -M <receiveripaddress> test.txt

    the latter gives "Failed to generate group master".
    Could someone confirm if this is possible and suggest what comination of commands would work?

    Thx
    Phil

     

    Last edit: Zip Ping 2020-06-03
  • Dennis Bush

    Dennis Bush - 2020-06-03

    Philip,

    What you're doing should work. What version of UFTP are you using, and on which OS?

    Regards,
    Dennis

     
  • Zip Ping

    Zip Ping - 2020-06-03

    Hi Dennis,
    Thanks for the speedy reply. I'm using macos mojave and ubuntu 18.04.4 (having tried each as both sender and receiver) and uftp 5.0. It turns out my issue was that I had compiled with NO_ENCRYPTION to keep it simple, but when trying again after recompiling with openssl 1.1.1g the error disappears and my transfers succeed. I'm also using -M flag on uftp to avoid multicast entirely, and this seems to be working well - e.g.

    uftpd -d -I <receiveripaddress>

    and

    uftp -H <receiveripaddress> -M <receiveripaddress> success.txt

    Thx
    Phil

     

    Last edit: Zip Ping 2020-06-03

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.