Copy file slowly - mimic FTP transfer

  • Thread starter Thread starter Matt Williamson
  • Start date Start date
M

Matt Williamson

I need to be able to mimic a large file being transferred by FTP to test a
script I'm writing. I need a way to specify the transfer speed of a file
copy on my local filesystem to another location on my local filesystem. I
can't think of a good way to do it and before I start trying to figure out
how to do it in a different language, I'd like to know if it's possilble to
do in script or if there are any utilities already out that allow for this.

TIA

Matt
 
Matt Williamson said:
I need to be able to mimic a large file being transferred by FTP to test a
script I'm writing. I need a way to specify the transfer speed of a file
copy on my local filesystem to another location on my local filesystem. I
can't think of a good way to do it and before I start trying to figure out
how to do it in a different language, I'd like to know if it's possilble to
do in script or if there are any utilities already out that allow for this.

How about using the Windows IIS server, enabling FTP, and actually
doing the FTP transfer?
 
How about using the Windows IIS server, enabling FTP, and actually
doing the FTP transfer?

I want to be able to specify the speed of transfer so I can test multiple
cases and multiple connection types.
 
Matt Williamson said:
I want to be able to specify the speed of transfer so I can test multiple
cases and multiple connection types.

Ok, with a server IIS you can throttle the FTP service to your desired
speed (but not with XP.)
 
Herb Martin said:
Ok, with a server IIS you can throttle the FTP service to your desired
speed (but not with XP.)

Fit a slow CD into your system and copy from that?

Copy from a floppy?

How about copy from a USB drive?
 
Fit a slow CD into your system and copy from that?
Copy from a floppy?

How about copy from a USB drive?

All good suggestions. I ended up writing a program in VB6 that does a binary
transfer from one file to the next letting me specify how many bytes get
copied at a time. It seems to do the trick.
 
Back
Top