Merge pull request #64 in ITERATE/cyberduck from feature/windows/9074 to master
[cyberduck.git] / Cyberduck.sdef
blob63c115c3bf8b2270241ef136e094edcfeda6998f
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
3 <dictionary>
4 <suite name="Cyberduck Suite" code="CYCK" description="AppleScript commands and classes specific to Cyberduck">
5 <enumeration name="Protocols" code="PrCl">
6 <enumerator name="SFTP" code="sftp" description="Connect to server using SFTP">
7 <cocoa name="sftp"/>
8 </enumerator>
9 <enumerator name="FTP" code="ftp " description="Connect to server using FTP">
10 <cocoa name="ftp "/>
11 </enumerator>
12 <enumerator name="FTP-TLS" code="ftps" description="Connect to server using FTP-TLS">
13 <cocoa name="ftps"/>
14 </enumerator>
15 </enumeration>
16 <class name="application" plural="applications" code="capp" inherits="application" description="Cyberduck's top level scripting object.">
17 <cocoa class="NSApplication"/>
18 <element type="browser">
19 <cocoa key="orderedBrowsers"/>
20 </element>
21 </class>
22 <class name="browser" plural="browsers" code="docu" inherits="document" description="A Browser">
23 <cocoa class="ch.cyberduck.ui.cocoa.CDBrowserController"/>
24 <property type="text" name="working folder" code="work" access="r" description="The current working folder.">
25 <cocoa key="WorkingDirectory"/>
26 </property>
27 <property type="text" name="encoding" code="enco" description="The character set to decode filenames.">
28 <cocoa key="Encoding"/>
29 </property>
30 <property type="boolean" name="show hidden" code="hidd" description="Show hidden files.">
31 <cocoa key="ShowHiddenFiles"/>
32 </property>
33 </class>
34 <command name="edit" code="CYCKEdFi" description="Edit file.">
35 <cocoa name="EditFile"/>
36 <parameter type="text" name="file" code="PaTh" description="The filename.">
37 <cocoa key="Path"/>
38 </parameter>
39 </command>
40 <command name="delete" code="coredelo" description="Delete file.">
41 <cocoa name="DeleteFile"/>
42 <parameter type="text" name="file" code="PaTh" description="The filename.">
43 <cocoa key="Path"/>
44 </parameter>
45 </command>
46 <command name="upload" code="CYCKUpAd" description="Upload file.">
47 <cocoa name="Upload"/>
48 <parameter type="text" name="as" code="NaMe" optional="yes" description="The name to save the file as.">
49 <cocoa key="Name"/>
50 </parameter>
51 <parameter type="text" name="to" code="ReTe" optional="yes" description="The upload folder.">
52 <cocoa key="Remote"/>
53 </parameter>
54 <parameter type="text" name="file" code="PaTh" description="The filename.">
55 <cocoa key="Path"/>
56 </parameter>
57 </command>
58 <command name="change folder" code="CYCKGoTo" description="Go to Folder.">
59 <cocoa name="Goto"/>
60 <parameter type="text" name="to" code="PaTh" description="The filename.">
61 <cocoa key="Path"/>
62 </parameter>
63 </command>
64 <command name="browse" code="CYCKDirL" description="List folder content.">
65 <cocoa name="List"/>
66 <parameter type="text" name="folder" code="PaTh" description="The folder.">
67 <cocoa key="Path"/>
68 </parameter>
69 <result>
70 <type type="item" list="yes"/>
71 </result>
72 </command>
73 <command name="disconnect" code="CYCKDiCt" description="Disconnect from server.">
74 <cocoa name="Disconnect"/>
75 </command>
76 <command name="touch" code="CYCKFiLe" description="Create a new file.">
77 <cocoa name="CreateFile"/>
78 <parameter type="text" name="file" code="PaTh" description="The filename.">
79 <cocoa key="Path"/>
80 </parameter>
81 </command>
82 <command name="open URL" code="WWW!OURL" description="Open a URL">
83 <cocoa name="OpenURL" class="ch.cyberduck.ui.cocoa.CDApplescriptabilityController"/>
84 </command>
85 <command name="exists" code="coredoex" description="If the given file exists.">
86 <cocoa name="Exists"/>
87 <parameter type="text" name="file" code="PaTh" description="The filename.">
88 <cocoa key="Path"/>
89 </parameter>
90 <result type="boolean"/>
91 </command>
92 <command name="refresh" code="CYCKReSh" description="Refresh folder listing.">
93 <cocoa name="Refresh"/>
94 </command>
95 <command name="make new" code="corecrel" description="Open new browser window.">
96 <cocoa name="Create" class="ch.cyberduck.ui.cocoa.CDApplescriptabilityController"/>
97 </command>
98 <command name="open URL" code="GURLGURL" description="Open a URL">
99 <cocoa name="GetURL" class="ch.cyberduck.ui.cocoa.CDApplescriptabilityController"/>
100 </command>
101 <command name="create" code="CYCKFoLd" description="Create a new folder.">
102 <cocoa name="CreateFolder"/>
103 <parameter type="text" name="folder" code="PaTh" description="The folder.">
104 <cocoa key="Path"/>
105 </parameter>
106 </command>
107 <command name="download" code="CYCKDoAd" description="Download file.">
108 <cocoa name="Download"/>
109 <parameter type="text" name="as" code="NaMe" optional="yes" description="The name to save the file as.">
110 <cocoa key="Name"/>
111 </parameter>
112 <parameter type="text" name="file" code="PaTh" description="The filename.">
113 <cocoa key="Path"/>
114 </parameter>
115 <parameter type="text" name="to" code="LoAl" optional="yes" description="The download folder.">
116 <cocoa key="Local"/>
117 </parameter>
118 </command>
119 <command name="sync" code="CYCKSyNc" description="Sync folder.">
120 <cocoa name="Sync"/>
121 <parameter type="text" name="folder" code="PaTh" description="The remote folder.">
122 <cocoa key="Path"/>
123 </parameter>
124 <parameter type="text" name="with local folder" code="LoAl" description="The local folder.">
125 <cocoa key="Local"/>
126 </parameter>
127 </command>
128 <command name="connect" code="CYCKCoCt" description="Connect to a specified server.">
129 <cocoa name="Connect"/>
130 <parameter type="text" name="with port" code="PoRt" optional="yes" description="The port to use when connecting.">
131 <cocoa key="Port"/>
132 </parameter>
133 <parameter type="text" name="to" code="HoSt" description="The host to connect to.">
134 <cocoa key="Host"/>
135 </parameter>
136 <parameter type="text" name="with password" code="PaRd" optional="yes" description="The password to use when connecting.">
137 <cocoa key="Password"/>
138 </parameter>
139 <parameter type="text" name="as user" code="UsMe" optional="yes" description="The username to use when connecting.">
140 <cocoa key="Username"/>
141 </parameter>
142 <parameter type="Protocols" name="with protocol" code="PrCl" optional="yes" description="The protocol to use (FTP or SFTP).">
143 <cocoa key="Protocol"/>
144 </parameter>
145 <parameter type="text" name="with initial folder" code="PaTh" optional="yes" description="The initial path to change to after connection is made.">
146 <cocoa key="InitialPath"/>
147 </parameter>
148 </command>
149 </suite>
150 </dictionary>