edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

FTPClientRestart Method

Set the REST marker so that the next transfer doesn't start at the beginning of the remote file

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void Restart(
	long size
)

Parameters

size  Int64
the REST param, the mark at which the restart is performed on the remote file. For STOR, this is retrieved by SIZE

Remarks

Issue the RESTart command to the remote server. This indicates the byte position that REST is performed at. For put, bytes start at this point, while for get, bytes are fetched from this point.

See Also