Buffer Size for GetFile/PutFile - WeOnlyDo Discussion board

Buffer Size for GetFile/PutFile (General questions)

by dtw01, Tuesday, September 12, 2006, 20:49 (6650 days ago)

Is there a way to change the buffer size for GetFile & PutFile? It appears that the default buffer size is set to 4096, but I have found in the past when downloading files of 100+ MB (with another product), you can speed up the transfer immensely if the buffer size is set to 1MB or 1048576 bytes. Can this be done with wodFtpDLX?

Re: Buffer Size for GetFile/PutFile

by wodSupport, Tuesday, September 12, 2006, 20:56 (6650 days ago) @ dtw01

Dave,

do you refer to any specific protocol, or to all of them in general?

Kreso

Re: Buffer Size for GetFile/PutFile

by dtw01, Tuesday, September 12, 2006, 21:04 (6650 days ago) @ wodSupport

The product I used in the past could only handle standard FTP and SSL, but I didn't encounter any problems by having the buffer set to 1MB for either of them.

Re: Buffer Size for GetFile/PutFile

by wodSupport, Tuesday, September 12, 2006, 21:15 (6650 days ago) @ dtw01

I'm now confused. We do have BufferSize property

http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~BufferSize.html

isn't that what you need?

Kreso

Re: Buffer Size for GetFile/PutFile

by dtw01, Tuesday, September 12, 2006, 21:43 (6650 days ago) @ wodSupport

That sounds exactly like what I need, however I don't see it as an option. Is this something that is not included in the evaluation version? I just downloaded the free eval last Friday 9/8/06.

Ftp1 = New WeOnlyDo.Client.FtpDLX()

Ftp1 is my FtpDLX object, but I can not get to the Ftp1.BlockSize member as you sugguest. It's not available. The version of the WeOnlyDo.Client.FTP.dll is 1.1.1.29.

Re: Buffer Size for GetFile/PutFile

by wodDrazen, Tuesday, September 12, 2006, 22:04 (6650 days ago) @ dtw01

Hi Dave,


Unfortunately, momentary wodFtpDLX.NET don't have BufferSize Property.
Our main programmer will see how easy/hard it will be to add it.

We will inform you when we investigate it.

Hope I helped.


Regards,
Drazen

Re: Buffer Size for GetFile/PutFile

by dtw01, Friday, September 22, 2006, 21:57 (6640 days ago) @ wodDrazen

Have you heard anything regarding this investigation?

Re: Buffer Size for GetFile/PutFile

by wodDamir, Friday, September 22, 2006, 22:09 (6640 days ago) @ dtw01

Hi Dave,

Yes, BufferSize is implemented in wodFtpDLX.Net. Please download a new version and try it out.

You should be able to set BufferSize Property.

Regards,
Damba