Adobe 65030089 Scripting Guide - Page 43

Server methods

Page 43 highlights

ROBOHELP 8 SCRIPTING GUIDE 39 Classes Property name port serverDirectory destinationPath Data type Integer String String Description Read-write Port number of the server This will apply only for FTP ServerType. Read-write Server directory This will not apply for FILESYSTEM ServerType. Read-write Destination path This will apply only for FILESYSTEM ServerType. Server methods changeToFTP Description Changes the existing server to the FTP server type. Returns Boolean Syntax changeToFTP (hostName, portNumber, serverDirectory, username) Parameters Parameter name hostName portNumber serverDirectory username Data type String Integer String String Optional No No No Yes Description Host name for the server Port number for the server Server directory Username for the FTP server changeToHTTP Description Changes the existing server to the HTTP server type. Returns Boolean Syntax changeToHTTP (hostName, serverDirectory)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

39
ROBOHELP 8 SCRIPTING GUIDE
Classes
Server methods
changeToFTP
Description
Changes the existing server to the FTP server type.
Returns
Boolean
Syntax
changeToFTP (hostName, portNumber, serverDirectory, username)
Parameters
changeToHTTP
Description
Changes the existing server to the HTTP server type.
Returns
Boolean
Syntax
changeToHTTP (hostName, serverDirectory)
port
Integer
Read-write
Port number of t
h
e server
T
h
is will apply only for FTP ServerType.
serverDirectory
String
Read-write
Server directory
T
h
is will not apply for FILESYSTEM ServerType.
destinationPath
String
Read-write
Destination pat
h
T
h
is will apply only for FILESYSTEM
ServerType.
Parameter name
Data type
Optional
Description
hostName
String
No
Host name for t
h
e server
portNumber
Integer
No
Port number for t
h
e server
serverDirectory
String
No
Server directory
username
String
Yes
Username for t
h
e FTP server
Property name
Data type
Description