EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SimpleSFTPClient.putfile for HUGE FILES

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#1583
Posted: 10/27/2006 11:11:02
by goubin dylan (Standard support level)
Joined: 09/19/2006
Posts: 13

SimpleSFTPClient(putfile)

We do have to upload files that are bigger than 2GB, it's usual to have a connection lost during uploading and we have to redo it again from 0 (no resume).

Is there any functions (e.g. : split files) to send a HUGE FIles (>2GB) with a maximum of security without have to resend everything in case of disconnection.
#1584
Posted: 10/27/2006 11:23:33
by Eugene Mayevski (EldoS Corp.)

Don't use UploadFile method. Instead, use OpenFile to open the file, then use WriteFile to write the data and then call CloseHandle to close the file.


Sincerely yours
Eugene Mayevski
#1586
Posted: 10/27/2006 11:39:04
by goubin dylan (Standard support level)
Joined: 09/19/2006
Posts: 13

Sorry, we already use WRITE/READ and it does not resume, do it ?
#1588
Posted: 10/27/2006 11:50:48
by Eugene Mayevski (EldoS Corp.)

Write has a parameter - offset to write to


Sincerely yours
Eugene Mayevski
#1589
Posted: 10/27/2006 11:51:20
by Eugene Mayevski (EldoS Corp.)

When opening the file, use Append flag to keep the previously written data


Sincerely yours
Eugene Mayevski
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 2710 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!