forked from iterate-ch/cyberduck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cyberduck.sdef
150 lines (150 loc) · 7.7 KB
/
Cyberduck.sdef
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
<dictionary>
<suite name="Cyberduck Suite" code="CYCK" description="AppleScript commands and classes specific to Cyberduck">
<enumeration name="Protocols" code="PrCl">
<enumerator name="SFTP" code="sftp" description="Connect to server using SFTP">
<cocoa name="sftp"/>
</enumerator>
<enumerator name="FTP" code="ftp " description="Connect to server using FTP">
<cocoa name="ftp "/>
</enumerator>
<enumerator name="FTP-TLS" code="ftps" description="Connect to server using FTP-TLS">
<cocoa name="ftps"/>
</enumerator>
</enumeration>
<class name="application" plural="applications" code="capp" inherits="application" description="Cyberduck's top level scripting object.">
<cocoa class="NSApplication"/>
<element type="browser">
<cocoa key="orderedBrowsers"/>
</element>
</class>
<class name="browser" plural="browsers" code="docu" inherits="document" description="A Browser">
<cocoa class="ch.cyberduck.ui.cocoa.CDBrowserController"/>
<property type="text" name="working folder" code="work" access="r" description="The current working folder.">
<cocoa key="WorkingDirectory"/>
</property>
<property type="text" name="encoding" code="enco" description="The character set to decode filenames.">
<cocoa key="Encoding"/>
</property>
<property type="boolean" name="show hidden" code="hidd" description="Show hidden files.">
<cocoa key="ShowHiddenFiles"/>
</property>
</class>
<command name="edit" code="CYCKEdFi" description="Edit file.">
<cocoa name="EditFile"/>
<parameter type="text" name="file" code="PaTh" description="The filename.">
<cocoa key="Path"/>
</parameter>
</command>
<command name="delete" code="coredelo" description="Delete file.">
<cocoa name="DeleteFile"/>
<parameter type="text" name="file" code="PaTh" description="The filename.">
<cocoa key="Path"/>
</parameter>
</command>
<command name="upload" code="CYCKUpAd" description="Upload file.">
<cocoa name="Upload"/>
<parameter type="text" name="as" code="NaMe" optional="yes" description="The name to save the file as.">
<cocoa key="Name"/>
</parameter>
<parameter type="text" name="to" code="ReTe" optional="yes" description="The upload folder.">
<cocoa key="Remote"/>
</parameter>
<parameter type="text" name="file" code="PaTh" description="The filename.">
<cocoa key="Path"/>
</parameter>
</command>
<command name="change folder" code="CYCKGoTo" description="Go to Folder.">
<cocoa name="Goto"/>
<parameter type="text" name="to" code="PaTh" description="The filename.">
<cocoa key="Path"/>
</parameter>
</command>
<command name="browse" code="CYCKDirL" description="List folder content.">
<cocoa name="List"/>
<parameter type="text" name="folder" code="PaTh" description="The folder.">
<cocoa key="Path"/>
</parameter>
<result>
<type type="item" list="yes"/>
</result>
</command>
<command name="disconnect" code="CYCKDiCt" description="Disconnect from server.">
<cocoa name="Disconnect"/>
</command>
<command name="touch" code="CYCKFiLe" description="Create a new file.">
<cocoa name="CreateFile"/>
<parameter type="text" name="file" code="PaTh" description="The filename.">
<cocoa key="Path"/>
</parameter>
</command>
<command name="open URL" code="WWW!OURL" description="Open a URL">
<cocoa name="OpenURL" class="ch.cyberduck.ui.cocoa.CDApplescriptabilityController"/>
</command>
<command name="exists" code="coredoex" description="If the given file exists.">
<cocoa name="Exists"/>
<parameter type="text" name="file" code="PaTh" description="The filename.">
<cocoa key="Path"/>
</parameter>
<result type="boolean"/>
</command>
<command name="refresh" code="CYCKReSh" description="Refresh folder listing.">
<cocoa name="Refresh"/>
</command>
<command name="make new" code="corecrel" description="Open new browser window.">
<cocoa name="Create" class="ch.cyberduck.ui.cocoa.CDApplescriptabilityController"/>
</command>
<command name="open URL" code="GURLGURL" description="Open a URL">
<cocoa name="GetURL" class="ch.cyberduck.ui.cocoa.CDApplescriptabilityController"/>
</command>
<command name="create" code="CYCKFoLd" description="Create a new folder.">
<cocoa name="CreateFolder"/>
<parameter type="text" name="folder" code="PaTh" description="The folder.">
<cocoa key="Path"/>
</parameter>
</command>
<command name="download" code="CYCKDoAd" description="Download file.">
<cocoa name="Download"/>
<parameter type="text" name="as" code="NaMe" optional="yes" description="The name to save the file as.">
<cocoa key="Name"/>
</parameter>
<parameter type="text" name="file" code="PaTh" description="The filename.">
<cocoa key="Path"/>
</parameter>
<parameter type="text" name="to" code="LoAl" optional="yes" description="The download folder.">
<cocoa key="Local"/>
</parameter>
</command>
<command name="sync" code="CYCKSyNc" description="Sync folder.">
<cocoa name="Sync"/>
<parameter type="text" name="folder" code="PaTh" description="The remote folder.">
<cocoa key="Path"/>
</parameter>
<parameter type="text" name="with local folder" code="LoAl" description="The local folder.">
<cocoa key="Local"/>
</parameter>
</command>
<command name="connect" code="CYCKCoCt" description="Connect to a specified server.">
<cocoa name="Connect"/>
<parameter type="text" name="with port" code="PoRt" optional="yes" description="The port to use when connecting.">
<cocoa key="Port"/>
</parameter>
<parameter type="text" name="to" code="HoSt" description="The host to connect to.">
<cocoa key="Host"/>
</parameter>
<parameter type="text" name="with password" code="PaRd" optional="yes" description="The password to use when connecting.">
<cocoa key="Password"/>
</parameter>
<parameter type="text" name="as user" code="UsMe" optional="yes" description="The username to use when connecting.">
<cocoa key="Username"/>
</parameter>
<parameter type="Protocols" name="with protocol" code="PrCl" optional="yes" description="The protocol to use (FTP or SFTP).">
<cocoa key="Protocol"/>
</parameter>
<parameter type="text" name="with initial folder" code="PaTh" optional="yes" description="The initial path to change to after connection is made.">
<cocoa key="InitialPath"/>
</parameter>
</command>
</suite>
</dictionary>