MaxTransferRate and FTPSimplicit (wodFTPServer)
by Frode Tonnessen, Thursday, April 24, 2008, 12:47 (6058 days ago)
Hei
I cant get MaxtransferRate and FTPSimplicit working, it works fine for regular ftp sessions. I've tried towards 2 diffrent Ftp servers same result
Any Solution to the problem?
Regards
Frode
Re: MaxTransferRate and FTPSimplicit
by woddrazen, Thursday, April 24, 2008, 13:01 (6058 days ago) @ Frode Tonnessen
Hi Frode,
I think I was able to duplicate the issue.
I will now transfer this issue to our developers to see if they can do the same in debug mode, and determine why this happens. You should get reply from them during the day.
Regards,
Drazen
Re: MaxTransferRate and FTPSimplicit
by wodgrof, Friday, April 25, 2008, 02:26 (6057 days ago) @ woddrazen
Frode,
I think we fixed the issue you were experiencing. Please request an updated version of wodFtpDLX component from our website.
Regards,
Grof
Re: MaxTransferRate and FTPSimplicit
by Frode Tonnessen, Friday, April 25, 2008, 09:22 (6057 days ago) @ wodgrof
Hey
Thanks for the very fast update
MaxTransferRate works fine now with ftpSimplicit on slow speeds, like 10-800 KB's, but when you try to limit it for anything above 800 KB's it doesnt work. I can hardly see that any will limit the TransferRate to above 800 KB's but you never know
Regards
Frode Tonnessen
Re: MaxTransferRate and FTPSimplicit
by wodDamir, Friday, April 25, 2008, 10:23 (6057 days ago) @ Frode Tonnessen
Frode,
I believe I have duplicated this issue. I will now forward it back to Grof for him to check what could be wrong. We will inform you as soon as we know more on the case.
Regards,
Damba
Re: MaxTransferRate and FTPSimplicit
by wodgrof, Saturday, April 26, 2008, 00:06 (6056 days ago) @ wodDamir
Hi Frode,
The behavior you are experiencing is caused by activation of transfer rate control mechanism in the component when MaxTransferRate property is set. Because of extra buffering of data and transfer rate calculations it is normal that the actual speed of transfer is lower when expected speed is large.
I hope this information helps.
Regards,
Grof
Re: MaxTransferRate and FTPSimplicit
by Frode Tonnessen, Monday, April 28, 2008, 08:42 (6054 days ago) @ wodgrof
Hey
Thanks again for the quick reply. My Issue is the following. I limit the transferrate to 810 Kb's. transfering a 160 MB file the avrage transferRate is 3600 Kb's. If i limit the transferrate to 800, i get an avrate speed of 760 witch is perfetcly fine. Here's a example you can use to se the issue
Option Explicit
Private WithEvents ftp As wodFtpDLXComLib.wodFtpDLXCom
Private Sub Command1_Click()
ftp.Timeout = 40
ftp.HostName = yourserver
ftp.Protocol = FTPSimplicit
ftp.Port = 990
ftp.Login = user
ftp.Password = pass
ftp.Compression = 0
ftp.Blocking = False
ftp.Passive = True
ftp.MaxTransferRate = 829440 ' 810 KB's
ftp.Connect
End Sub
Private Sub ftp_Connected(ByVal ErrorCode As Long, ByVal ErrorText As String)
If ErrorCode = 0 Then
ftp.PutFile c: est.avi
End If
End Sub
Private Sub ftp_Progress(ByVal Position As Long, ByVal Total As Long)
Debug.Print Speed & ftp.TransferRate / 1024
End Sub
Regards
Frode Tønnessen
Re: MaxTransferRate and FTPSimplicit
by woddrazen, Monday, April 28, 2008, 09:11 (6054 days ago) @ Frode Tonnessen
Frodo,
What is issues here? I don't understand it.
From your last reply I can see that all is working as expected. When you set MaxTransferRate to 800kb, file upload transfer is 760kb.
Drazen
Re: MaxTransferRate and FTPSimplicit
by Frode Tonnessen, Monday, April 28, 2008, 09:18 (6054 days ago) @ woddrazen
The issue is
Maxtransfer rate works up to 800 KB's
If you try to limit above 800 KB's you will see that it doenst limit the transferrate at all.
Plz use the test code to see for yourself
Regards
Frode Tonnessen
Re: MaxTransferRate and FTPSimplicit
by woddrazen, Monday, April 28, 2008, 09:31 (6054 days ago) @ Frode Tonnessen
Frodo,
It works for me. Can you please check what does wodFtpDLX Version Property[code]MsgBox ftp.Version[/code]
Drazen
Re: MaxTransferRate and FTPSimplicit
by Frode Tonnessen, Monday, April 28, 2008, 09:34 (6054 days ago) @ woddrazen
Version 2.8.1.413
Regards
Frode Tonnessen
Re: MaxTransferRate and FTPSimplicit
by woddrazen, Monday, April 28, 2008, 11:23 (6054 days ago) @ Frode Tonnessen
Frode,
OK you are using latest version. we are testing with Serv-U. Which server you are using?
Drazen
Re: MaxTransferRate and FTPSimplicit
by Frode Tonnessen, Monday, April 28, 2008, 11:29 (6054 days ago) @ woddrazen
Hey
Im using gene6 ftp server, http://www.g6ftpserver.com/
I'll setup Serv-u server and post the results
Regards
Frode
Re: MaxTransferRate and FTPSimplicit
by Frode Tonnessen, Monday, April 28, 2008, 11:50 (6054 days ago) @ Frode Tonnessen
Hey
I got exactly the same result with Serv-U. I dont see this as an big bugg tho, can hardly see any of our customer limit the upload rate above 800 KB's. So thank you again for fixing the initial bugg report
Best Regards
Frode Tonnessen