Copy file slowly - mimic FTP transfer

  • Thread starter Matt Williamson
  • 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
 
H

Herb Martin

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?
 
M

Matt Williamson

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.
 
H

Herb Martin

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.)
 
B

billious

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?
 
M

Matt Williamson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top