Lasso Soft Inc. > Home

[lp_file_listdirectory]

Linklp_file_listdirectory
AuthorBil Corry
CategoryFile
Version8.5.x
LicensePublic Domain
Posted02 Sep 2006
Updated02 Sep 2006
More by this author...

Description

Returns directory listing given a web path, similar to file_listdirectory except you do not need file tag permissions.

Requires [lp_file_trimPath]

Sample Usage

lp_file_listdirectory:'/';

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

[

	define_tag:'lp_file_listdirectory',
		-description='Returns directory listing given a web path, similar to file_listdirectory except you do not need file tag permissions.',
		-priority='replace',
		-privileged,	// allows file tags to work in most cases
		-required='directory';

		// will not work with paths from hard disk

		return: (file_listdirectory: (lp_file_trimPath: #directory));

	/define_tag;

]

Comments

No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft