Is it possible to upload a specific number of bytes (binary data) to http/ftp server using linux command?
-
what is the purpose from uploading just bytes no matter of file size to ftp server ?Wissam Roujoulah– Wissam Roujoulah2016-11-30 14:24:34 +00:00Commented Nov 30, 2016 at 14:24
-
I need just to get some statisticsimen bhiri– imen bhiri2016-11-30 14:26:50 +00:00Commented Nov 30, 2016 at 14:26
-
you want to make a traffic load on remote server for statistics ? if that there is many tools to make the testWissam Roujoulah– Wissam Roujoulah2016-11-30 14:27:58 +00:00Commented Nov 30, 2016 at 14:27
Add a comment
|
1 Answer
Sure; here's one way with FTP:
put "|dd if=/dev/zero bs=1k count=100" /dev/null
Adjust the block size and counts to the amount you need.