Command Line FTP download speed

Core FTP client questions and answers
Locked
jschmidt
Posts: 4
Joined: Tue Jun 25, 2013 1:52 am

Command Line FTP download speed

Post by jschmidt »

I am using Core FTP LE Version2.2 Build 1765 on a Windows 7 machine with 8 gb of memory. I have multiple websites that I want to backup with automation. To do so I have written a bat file using the command line feature of Core FTP. If I download one site only, everything seems fine. If I download multiple sites, the first one will work okay and then as it moves into the second site, it bogs down to a complete crawl.

I have run a speed test and have a download speed of 23.48 mbps. Each site is 375 mb or there about anyway.

I have checked with the host provider and they assure me that in no way are there any throttles or speed caps in place on our VPS.

For clarification, in the bat file I am looping thru doing one site at a time, using the command line access, then exiting Core FTP, and then continue in the loop to the next site. It is that move to the next site where my problems occurs. The second site will run for 10 hours and still not finish.

Can anyone provide any insights or suggestions? I am at wits end. Am I asking too much from Core FTP that it is not built to handle?

I would appreciate any thoughts.
ForumAdmin
Site Admin
Posts: 1004
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

Are you using corecmd.exe (blocking) and not coreftp.exe for the bat file?

If you call coreftp.exe they are going to run asynchronously and could bog down your system very quickly.
jschmidt
Posts: 4
Joined: Tue Jun 25, 2013 1:52 am

Post by jschmidt »

Thanks for the reply, I truly appreciate it!

I am using coreftp.exe as I was not aware of corecmd. What I am doing is I start a bat file that uses a txt file for input as to which sites to backup. That bat file then in turn calls a second bat file which issues the actual coreftp command. My understanding is that the original bat file will not continue on until control returns from the called or second bat file. Is that your understand as well? If that is the case, then would I still have the problem?

Also, could explain a bit more to me what you mean by corecmd.exe blocking. I can guess at what you mean but I want to ensure I truly understand.
ForumAdmin
Site Admin
Posts: 1004
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

the coreftp.exe process will run in the background once it's called, doesn't matter if it's called in a .bat file or any script. It's a separate process.

If you want the Core FTP program to run until it's finished before returning, you'll need to use the corecmd.exe which waits for it to finish.
Locked