Description
-
Sets attributes for a file or folder.
Return Type
-
None.
Syntax
-
object.SetAttributes64
[RemotePath], [SizeLo], [SizeHi],
[Uid], [Gid], [Permissions],
[AccessTime], [ModificationTime]
The SetAttributes64 Method syntax has these parts:
| object |
An expression
evaluating to an object of type wodFtpDLX. |
|
RemotePath |
Optional. A Variant
value. Full path to a file/directory on the server. |
| SizeLo |
Optional. A Variant
value. Lower long value of 64bit integer for new
file/directory size. |
| SizeHi |
Optional. A Variant
value. Higher long value of 64bit integer for new
file/directory size. |
| Uid |
Optional. A Variant
value. Sets user ownership for the file/directory. |
| Gid |
Optional. A Variant
value. Sets group ownership for the
file/directory. |
|
Permissions |
Optional. A Variant
value. Sets file/directory permissions. |
|
AccessTime |
Optional. A Variant
value. Sets last access time. |
|
ModificationTime |
Optional. A Variant
value. Sets last modification time. |
Remarks
-
Use SetAttributes64 instead of the
SetAttributes
method only if the size that you want to specify does not fit into a
32-bit long value. If so, you should specify the upper long value of
int64 size in SizeHi and you should put
the lower long value in SizeLo.
|