Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Performance is terrible
wrlucas

From: Gardner, KS USA
Posts: 58
Member Since: 02/13/02
posted May 17, 2003 1:22 PM

We send 200-300 photos at a time to a web server.

When using ws_ftppro, the process takes a minute or two. With the Dart FTP control this take 10-15 minutes.

What can we do to improver performance? Obviously, if we can shorten the time we have less exposure to the abnomalities of the Internet.

Bill
Thierry

From: Ballsbridge, Republic of Ireland
Posts: 4
Member Since: 05/17/03
posted May 17, 2003 10:11 PM

I'm having a similar problem! Seems that using the control is very slow compare to "FTP Voyager" or a couple of other controls I have tried. I still prefer Dart's one due to functionality but the speed seems to be an issue!

Any help welcome!

Thanks.

Thierry
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 19, 2003 11:16 AM

First, make sure you are using the latest version. We made some improvements to speed a few versions ago.

If you get the latest version and still have trouble, please post more details on the transfer rate and I'll run some tests here.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted May 19, 2003 11:20 AM

Hi,
Also, try transferring with no code in the Progress event. You may be doing something intensive every time Progress fires that is causing the slowdown.
-ken
wrlucas

From: Gardner, KS USA
Posts: 58
Member Since: 02/13/02
posted May 19, 2003 2:29 PM

I am using the latest version.

I am not sure how to get transfer rate of FTP control but here is the code I am using. Each iteration of the loop takes nearly 10-15 times longer than ws_FTPPro. That include me making the directory in ws_FTPPro and executing the transfer so as to simulate exactly what is going on via the FTP control.

My data transfer rate varies from 30-40KB/sec in ws_FTPPro.

  For Each varRoll In collRolls
    Parent!lblFTP.Caption = "Processing " & i & " of " & collRolls.Count & " rolls!"
    i = i + 1
    FTP1.MakeDirectory varRoll
    FTP1.Directory = varRoll
    Select Case InStr(strEmailPath, " ")
      Case 0
        FTP1.MPut strEmailPath & "\" & varRoll & "\*.jpg", "", FilesTransferred, FileErrors
      Case Else
        FTP1.MPut """" & strEmailPath & "\" & varRoll & "\*.jpg""", "", FilesTransferred, FileErrors
    End Select
    FTP1.ChangeDirectoryUp
  Next varRoll
Thierry

From: Ballsbridge, Republic of Ireland
Posts: 4
Member Since: 05/17/03
posted May 19, 2003 5:28 PM

Thanks all for replying.

I have only downloaded the demo a few days ago. Is it fair to assume I have the latest version!

I thought it may have had something to do with my firewall or something along these lines, until I re-downloaded the latest service pack from another ftp software I use "xceedsoft ftp".

The speed different is scary. I don't know why there is such a difference, but it is unbelievable. That indirectly takes care of the firewall problem.

I will add some code in the next few days to calculate the transfer rate. Once I have done that I will let you know about both transfer rate i.e. DART & Xceedsoft ftp.

Maybe you will be able to figure out why there is such a difference!

Thanks.

Thierry
wrlucas

From: Gardner, KS USA
Posts: 58
Member Since: 02/13/02
posted May 21, 2003 10:07 PM

What is the status of this problem??
Thierry

From: Ballsbridge, Republic of Ireland
Posts: 4
Member Since: 05/17/03
posted May 22, 2003 5:52 PM

Not good I'm afraid!

I have not tried yet to set the time of the file before sending it back to the server as suggessted, but I have a feeling that the time will not stick nor will it keep the seconds to make it accurate!

We have a client/server application, where the database is completely protected from the user as it does not have to be in a shared drive as the server does all the work and returns the results to the client via dcom. I was trying to find a solution that would provide me with the same feature as the database, but using ftp. I'm not pushed in storing files in databases.

Do you know a way to do what I'm talking about?

As for the suggestion about setting the time, I'll try to spend some time on it over the weekend and get back to let you know how I got on! Hopefully.

Thanks.

T
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX