|
This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19.8
About ZIP Archives
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Properties | ZIP archive comments |
| file.creationDate | |
| file.creationTime | |
| file.exists | |
| file.extension | |
| file.fullName | |
| file.hidden | |
| file.isAlias | |
| file.isFile | |
| file.isFolder | |
| file.isWritable | Always false |
| file.modificationDate | |
| file.modificationTime | |
| file.name | |
| file.original | |
| file.parent | |
| file.path | Returns a path relative to the archive |
| file.platformPath |
| Properties | ZIP archive comments |
| folder.creationDate | Date may be different for the root folder from a folder within the archive |
| folder.creationTime | Time may be different for the root folder from a folder within the archive |
| folder.exists | |
| folder.extension | |
| folder.fullName | |
| folder.hidden | |
| folder.isAlias | |
| folder.isFile | |
| folder.isFolder | |
| folder.isPackage | |
| folder.modificationDate | Date may be different for the root folder from a folder within the archive |
| folder.modificationTime | Time may be different for the root folder from a folder within the archive |
| folder.name | |
| folder.original | |
| folder.parent | The archive's virtual root folder has no parent. However, the folders within the archive may have a parent other than the root. |
| folder.path | Returns a path relative to the archive |
| folder.platformPath |
The following tables list the compatibility of file and folder methods with ZIP archives.
| Methods | Comments |
| file.copyTo( ) | |
| file.create( ) | Not available for ZIP archives |
| file.createAlias( ) | Not available for ZIP archives |
| file.delete( ) | Not available for ZIP archives |
| file.getContent( ) | |
| file.getIcon( ) | |
| file.getText( ) | |
| file.moveTo( ) | Not available for ZIP archives |
| file.rename( ) | Not available for ZIP archives |
| file.setContent( ) | Not available for ZIP archives |
| file.setText( ) | Not available for ZIP archives |
| Methods | Comments |
| folder.copyTo( ) | |
| folder.create( ) | Not available for ZIP folder archives |
| folder.createAlias( ) | Not available for ZIP folder archives |
| folder.delete( ) | Not available for ZIP folder archives |
| folder.file( ) | |
| folder.files( ) | |
| folder.folder( ) | |
| folder.folders( ) | |
| folder.getIcon( ) | |
| folder.moveTo( ) | Not available for ZIP folder archives |
| folder.rename( ) | Not available for ZIP folder archives |
Product: 4D
Theme: File and Folder
Created: 4D v18
4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)
4D Language Reference ( 4D v19.4)
4D Language Reference ( 4D v19.5)
4D Language Reference ( 4D v19.6)
4D Language Reference ( 4D v19.7)
4D Language Reference ( 4D v19.8)
Add a comment