The origins of the VFPwinsock. It's the library 'winsock' which. - William GC Steinford and Anatoliy Mogylevets have posted a Visual FoxPro source code of a. Foxpro Xp Winsock in. FTP client FoxPro component that provides direct and simple control of the FTP protocol from any 32-bit Visual FoxPro application program.
Does anyone have sample code using winsock to transfer a file with a VFP program clientsample.prg and serversample.prg? I'm still having problems with no answers from prior posts and every time I think I'm that much closer to a solution it just doesn't happen. I would think someone would have some sample code somewhere. I searched the UT last night but found nothing and I'm just getting a little tired of staying up til well after 3AM every night. All help would be greatly appreciated.
Thanks, Mike Richard Stecenko 30.12.09 7:13. Not just that but I could easily go beyond the 16mb by using the low level VFP file i/o commands which I do in my application but socket code has to be rewritten such that it checks for ready to send events, etc. I do all that with winsock in my test program and it doesn't work. There are chunks of data that are not being properly sent. A lot of times (but not always) the chunks are being sent out as zeros in the buffer even though they are read as non-zero bytes. It's just perplexing.
Mike 'J�rgen Wondzinski' wrote in message news:erXM5LaiKHA.5524@TK2MSFTNGP06.phx.gbl. Richard Stecenko 30.12.09 18:14. Driver Protocollo Lldp Microsoft Store. >>But that would limit him to 16Mb (the max length of a string in VFP), but >>he wants to transfer files with 75Mb.
From the samples that I have seen, there is no send file method. Instead, the client reads the file and sends it in packets. From the samples that I have seen, the client sends a packet, the server echoes back, and the client either re-sends or sends another packet. In the Microsoft sample, all that is missing. It The Great Gatsby Soundtrack Album Zip. 's primitive. But if you look at the Microsoft sample, in the DataArival event (or method), there's this code: strData = SPACE(256) && Define string to pass to GetData This.Object.GetData(@strData) ThisForm.Edit1.Value = strData Now, and I don't know how or why, if the getData() fails (screws up, gets confused), then ThisForm.Edit1.Value is going to be a bunch of spaces. Mike says: 'A lot of times (but not always) the chunks are being sent out as zeros in the buffer even though they are read as non-zero bytes.'