IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

RemotePath Property

The current path on the server.

Syntax


 getRemotePath(): string;

 setRemotePath(remotePath: string): void;

Default Value

""

Remarks

This property shows the current working directory on the server. It can also be used to change the working directory by setting an absolute or relative path.

If the path begins with a "/" it is considered an absolute path.

If the first two characters of the path are ".." this indicates a change to the parent directory.

Example (Changing Directory)

component.RemotePath = "/MyFolder/Child"; //absolute
component.RemotePath = "GrandChild"; //relative, change to a sub-folder of the current directory
component.RemotePath = "../.."; //relative, use ".." to navigate to parent folders

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 JavaScript Edition - Version 20.0 [Build 8265]