RemotePath Property
The current path on the server.
Syntax
ANSI (Cross Platform) char* GetRemotePath();
int SetRemotePath(const char* lpszRemotePath); Unicode (Windows) LPWSTR GetRemotePath();
INT SetRemotePath(LPCWSTR lpszRemotePath);
@property (nonatomic,readwrite,assign,getter=remotePath,setter=setRemotePath:) NSString* remotePath; - (NSString*)remotePath; - (void)setRemotePath:(NSString*)newRemotePath;
#define PID_CLOUDSTORAGE_REMOTEPATH 37 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_CloudStorage_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_CloudStorage_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
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
Data Type
String