70 | | Follow these steps to perform a file transfer using UDT. |
71 | | |
72 | | * Log into pc1 and pc2 in separate windows. |
73 | | |
74 | | * On pc1, start a UDT file transfer server, using this command: |
75 | | {{{ |
76 | | % pc1:~% /local/udt4/app/sendfile |
77 | | server is ready at port: 9000 |
78 | | }}} |
79 | | |
80 | | * On pc2, start a UDT file transfer client, using this command: |
81 | | {{{ |
82 | | pc2:~% /local/udt4/app/recvfile pc1 9000 /local/datafiles/sm.10M /dev/null |
83 | | }}} |
84 | | You should see output like the following in your pc1 window, showing the results of the file transfer. Note the transfer rate. |
85 | | {{{ |
86 | | new connection: 192.168.2.2:55839 |
87 | | speed = 7.14472Mbits/sec |
88 | | }}} |
89 | | |
90 | | * There are three data files available for transfer tests: '''/local/datafiles/sm.10M''' is 10MB, '''/local/datafiles/med.100M''' is 100MB, and '''/local/datafiles/lg.1G''' is 1000MB. Leave your transfer server running on pc1, and try transferring each of these files in turn by typing the appropriate commands on pc2. Keep track of the transfer rates in each case. |
91 | | |
92 | | * You can leave your UDT server running or stop it with ctrl-C. |
93 | | |