SecureBlackbox Lite 2020 Kotlin Edition

Questions / Feedback?

GetFileSize Method

Returns the size of a remote file.

Syntax

public fun getFileSize(remoteFile: String?): Long

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 Lite 2020 Kotlin Edition - Version 20.0 [Build 8063]