Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetFilesList – PB Docs 2021 – PowerBuilder Library

GetFilesList – PB Docs 2021

GetFilesList

PowerScript function

Description

Gets the list of files (and folders) in the compressed
package.

Applies to

ExtractorObject objects

Syntax

Argument

Description

objectname

The name of the ExtractorObject object.

source

The full path of the compressed package.

Packages compressed by the LINUX commands are
unsupported.

list[]

The list of files (and folders) in the compressed
package.

Return value

Integer. If any argument’s value is null, the method returns
null.

The return values are:

  • 1 — Success.

  • -1 — A general error occurred.

  • -3 — The operation is not supported for the source file
    format.

  • -5 — A task thread is currently running.

  • -6 — You must enter a password.

  • -7 — The password is incorrect.

  • -9 — Failed to read the compressed file.

  • -10 — Unrecognized format or the encrypted file name option is
    used for the compressed document.

  • -12 — The compressed file does not exist.

Examples

See also

Cancel

Extract

GetFilesCount


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x