Re: [twsocket] RCVFILE maximum file size

2005-09-05 Thread Ask
I wish to add that I had partial success in that I merged the code in
SENDFILE with 64-bit file file-I/O code from the internet to make the
SENDFILE program work with files of any size (even files > 2GB). Yahoo. I'm
willing to donate this code (to Francois Piette?) hoping that it helps gain
me some credit here in terms of help from the community with using ICS
(although I've had no trouble so far).

The second challenge is fixing RCVFILE to work with files > 2GB. Until
that's done, there's little value to what I accomplished. I probably can
achieve this myself in a couple of days. Someone like Francois could
probably do it in a couple of hours or less :-) especially after seeing how
I fixed SENDFILE.

-Original Message-
From: Ask [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 05, 2005 11:44 AM
To: 'twsocket@elists.org'
Subject: RCVFILE maximum file size
The sample program RCVFILE.DPR crashes when the file being sent by
SENDFILE.DPR is big. It works with 2MB files but not 2GB files. 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] RCVFILE maximum file size

2005-09-05 Thread Wilfried Mestdagh
Hello Ask,

This seems to be 2 examples of me. Both of them are used as a possible
approach of send/receive and based on speed (hence the reason of mem
allocation) witch is not what you need.

What you need to do is save each received block to disk. Thats all.

---
Rgds, Wilfried
http://www.mestdagh.biz

Monday, September 5, 2005, 17:43, Ask wrote:

> The sample program RCVFILE.DPR crashes when the file being sent by
> SENDFILE.DPR is big. It works with 2MB files but not 2GB files. I want to
> use this technology to send my large zipped backups over the internet but
> until this sample program is fixed I can't.

> I read the sample's source code. It appears that it allocates a block of
> physical memory equal to the size of the file. For many computers this will
> mean a maximum transferable file size of perhaps 100MB. But the files I want
> to transfer are larger than that. Can this program be fixed? Has anyone
> already fixed this problem?

> Thanks. So far I really like ICS.


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] RCVFILE maximum file size

2005-09-05 Thread Angus Robertson - Magenta Systems Ltd
> The sample program RCVFILE.DPR crashes when the file being sent by
> SENDFILE.DPR is big. It works with 2MB files but not 2GB files.
> until this sample program is fixed I can't.

You can also fix it yourself, or use a protocol that supports files 
larger than 2 gigs.  Basically that excludes ICS today, but FTP support 
for files larger than 2 gigs will be available in a few days.  

You'll need Delphi 6 or later, unless you want to write your own stream 
handling code, and use TFileStream to read and write the file, not 
THandleStream or TMemoryStream which are limited to 2 gigs. 

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] RCVFILE maximum file size

2005-09-05 Thread Ask
The sample program RCVFILE.DPR crashes when the file being sent by
SENDFILE.DPR is big. It works with 2MB files but not 2GB files. I want to
use this technology to send my large zipped backups over the internet but
until this sample program is fixed I can't.

I read the sample's source code. It appears that it allocates a block of
physical memory equal to the size of the file. For many computers this will
mean a maximum transferable file size of perhaps 100MB. But the files I want
to transfer are larger than that. Can this program be fixed? Has anyone
already fixed this problem?

Thanks. So far I really like ICS.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be