Solved

Instead of using Winsock

Posted on 2003-10-26
3
193 Views
Last Modified: 2013-11-13
What can I use for file transfer, instead of using winsock?  It seems as if it tops at 8192 bytes per xfer I guess you could say.  Is there anyway to raise this, or is there any other controls i could use that would do that same thing, with higher bytes transferred?
0
Comment
Question by:ThaSmartUno
3 Comments
 
LVL 7

Expert Comment

by:_agj_
ID: 9625068
u cud use the internet transfer control.

Or u cud use the winsock32.dll api .
0
 
LVL 2

Accepted Solution

by:
drydo earned 125 total points
ID: 9626204
> It seems as if it tops at 8192 bytes per xfer I guess you could say.  Is there anyway to raise this

Generally you would upload chunks of the source file to the destination file, i.e. 2048 bytes at a time rather than uploading the entire file at once.

There are FTP samples of this at www.vbip.com (in fact you will find loads of FTP samples using controls with Inet control to the Winsock API)

HTH - Drydo
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article will show, step by step, how to integrate R code into a R Sweave document
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question