SecureBlackbox 2020 Delphi Edition

Questions / Feedback?

GetFileSize Method

Returns the size of a remote file.

function GetFileSize(RemoteFile: String): Int64;

Remarks

Use this method to retrieve the size of a remote file. This method attempts to use SIZE and MLST commands if available, and resorts to LIST command otherwise.

Please note that this command only looks for the file in the current directory. To check for existence of a file in a different directory, change to it with ChangeDir command first, then call this method.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Delphi Edition - Version 20.0 [Build 8166]