Solved

Instead of using Winsock

Posted on 2003-10-26
3
190 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

930 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now