dw.net
Class FTPFileInfo
dw.net.FTPFileInfo
The class is used to store information about a remote file.
Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.
Deprecated:
The FTPClient is deprecated. Use SFTPClient for a secure alternative.
Properties
name
:
String
(Read Only)
The name of the file.
size
:
Number
(Read Only)
The size of the file.
timestamp
:
Date
(Read Only)
The timestamp of the file.
Constructor Summary
FTPFileInfo(name
:
String, size
:
Number, directory
:
boolean, timestamp
:
Date)
Constructs the FTPFileInfo instance.
Method Summary
getDirectory()
:
boolean
Identifies if the file is a directory.
getTimestamp()
:
Date
Returns the timestamp of the file.
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Constructor Detail
Method Detail
getDirectory
getDirectory()
:
boolean
Identifies if the file is a directory.
Returns:
true if the file is a directory, false otherwise.
getTimestamp
getTimestamp()
:
Date
Returns the timestamp of the file.
Returns:
the timestamp of the file.
© Copyright 2000-2024, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.