http://digital-flame.ru/

# Class TSendFileInChunks

Description | Hierarchy | Fields | Methods | Properties

## Unit

uSendFileInChunks

## Declaration

`type TSendFileInChunks = class(TDataModule)`

## Description

## Hierarchy

- TDataModule
- TSendFileInChunks

## Overview

### Fields

| `tIsFileOnServer: TTimer;`
| `tCheckChunksIntegrity: TTimer;`

### Methods

| `constructor Create(AOwner: TComponent); override;`
| `destructor Destroy; override;`
| `procedure SendFileInChunks(AFilePath:string; ChunkSize:Int64);`

### Properties

| `property OnUploadInChunksBegin: TUploadInChunksEvents read FOnUploadInChunksBegin write FOnUploadInChunksBegin;`
| `property OnUploadInChunks: TUploadInChunksEvents read FOnUploadInChunks write FOnUploadInChunks;`
| `property OnUploadInChunksEnd: TUploadInChunksEvents read FOnUploadInChunksEnd write FOnUploadInChunksEnd;`
| `property SomeThread: TObject read FSomeThread write FSomeThread;`
| `property FilePathOnServer: string read FFilePathOnServer write FFilePathOnServer;`
| `property IsKeep2Share: boolean read FIsKeep2Share write FIsKeep2Share;`
| `property LinkKeep2Share: string read FLinkKeep2Share write FLinkKeep2Share;`

## Description

### Fields

| `tIsFileOnServer: TTimer;`

| `tCheckChunksIntegrity: TTimer;`

### Methods

| `constructor Create(AOwner: TComponent); override;`
Public declarations

| `destructor Destroy; override;`

| `procedure SendFileInChunks(AFilePath:string; ChunkSize:Int64);`
Central method in this unit Creates temp dir, dividing file in chunks, sending chunks info and then sending chunks at last checks on Server integrity

### Properties

| `property OnUploadInChunksBegin: TUploadInChunksEvents read FOnUploadInChunksBegin write FOnUploadInChunksBegin;`
property for OnUploadInChunksBegin Event

| `property OnUploadInChunks: TUploadInChunksEvents read FOnUploadInChunks write FOnUploadInChunks;`
property for OnUploadInChunks Event

| `property OnUploadInChunksEnd: TUploadInChunksEvents read FOnUploadInChunksEnd write FOnUploadInChunksEnd;`
property for OnUploadInChunksEnd Event

| `property SomeThread: TObject read FSomeThread write FSomeThread;`

| `property FilePathOnServer: string read FFilePathOnServer write FFilePathOnServer;`

| `property IsKeep2Share: boolean read FIsKeep2Share write FIsKeep2Share;`

| `property LinkKeep2Share: string read FLinkKeep2Share write FLinkKeep2Share;`

Generated by PasDoc 0.14.0.