Tag Archives: script

Creating fake or empty file sizes

this is slick…… today i wanted to test how long would it take to transfer a data set between two different tools and protocols. the two protocol that i was testing were SAMBA and SFTP under a windows machine.  i wanted to try to transfer an empty ISO 1,073,741,824 bytes = 1GB.

if you would like to create this fake file here would be the code that you would have to use

  1. open command prompt (cmd)
  2. and type this command
fsutil file createnew test.iso 1073741824

that will allow you to create a fake iso file with 1GB of space.  if you are interested on the results take a look at the table below.

Total time: 00:32:21.686
Task Start Time
SFTP transfer
12:41:28 PM
Share drive transfer 12:21:01 PM 00:19:59.28
Time difference 07:36.87
% difference 61.90%