forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


File transfer throttle

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Mon Feb 03, 2003 9:40 pm    Post subject: File transfer throttle Reply with quote

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
View user's profile Send private message Send e-mail
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Tue Feb 04, 2003 12:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Tue Feb 04, 2003 3:53 pm    Post subject: Reply with quote

@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! Smile

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group