| View previous topic :: View next topic |
| Author |
Message |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Mon Feb 03, 2003 9:40 pm Post subject: File transfer throttle |
|
|
Here is my situation...
- The office in which I work is located in a city about 40 miles from the corporate office. We have a point-to-point WAN over fiber between the two.
- Often times I need to transfer large files to or from the corporate office servers. However, there is a lot of database traffic on the WAN that I don't want to slow down by transfering these files.
I have looked all over for a program that would allow me to limit the bandwidth used to copy files from here to there. Unfortuantely a client/server setup like FTP or HTTP is not an option. I have also wondered about the possibility of writing a script that would use VDSINOUT.DLL or VDSBIN.DLL to achieve such a throttle control.
Any ideas on feasibility? Am I barking up the wrong tree here? Anyone know of an existing program that will allow file copy throttle control? |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Tue Feb 04, 2003 12:51 am Post subject: |
|
|
| You may try using the VDSIPP and do a simply TCP/IP server/client file transfer. You would also need to use the VDSINOUT.DLL to convert the file's binary information into ascii and transfer this information across the internet. Using VDSIPP and the TCP protocol as well as with your script you should be able to set the amount of data you want to send (packet size) and the interval in seconds you want to transfer that data. Using a WAIT command you should be able to halt transfer between a second or millisecond. |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Tue Feb 04, 2003 3:53 pm Post subject: |
|
|
@PGWARE
I think your idea would work well if I could use a server/client setup, but like I said it isn't an option I'm able to explore in this situation. I do appreciate the suggestion though, as always!
However, I think I have found a place to start on this...
I found a program created by Nullsoft (the WinAmp guys) called Nullsoft Copy. You can find it here: http://www.nullsoft.com/free/nscopy/
It does pretty much what I'm looking for. I think the GUI could be cleaned up a bit and I'd like to have a bit more control over the files handling. The source is included with rights granted to modify and redistribute it. The problem is, it's written in C and I'm not even close to literate when it comes to C. Anyone care to take a crack at converting the bandwidth throttle routine to VDS code? |
|
| Back to top |
|
 |
|