Karl Blessing
Programmer
Well at the moment , doing ASCII files were fine, no prob at all what you got is an FTP-like server, and and FTP-like client, client get 256byte chunks when downloading from server, than I put those chunks into a linked list with a byte count(since the last one isnt always gona fill the whole 256bytes) problem is tho I tried a access Database, and when the FTP sends it over, and I have it write to a file from the linked list I have it stored in (for accuracy testing, I have it written to disk for file comparism) The original DB is 3 megs, from the linked list it was written as 730KB, I traced it seeing when copy the data received from the server, into the linked list, I get "" strings, which are written as zero number of characters, not 256 0 value, So how am I to store a binary file in memory. and succesfully write it.<br><br>( For those of you who may ask "why do you want to do that" This is a VC++ control , which will be placed into VB, the file request it makes is to be loaded into memory in the control then exported to VB by means of a safearray this way the application in a sense can Cache in memory what it retrieves )<br><br> <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)