This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
ftp.json
251 lines (246 loc) · 8.05 KB
/
ftp.json
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
{
"id": "ftp_cheat_sheet",
"name": "FTP",
"description": "The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network",
"metadata": {
"sourceName": "SmartFile",
"sourceUrl" : "http://www.smartfile.com/blog/the-ultimate-ftp-commands-list/"
},
"aliases": [
"file transfer protocol"
],
"template_type": "code",
"section_order": [
"Establish Connection",
"Download",
"Upload",
"Toggle Transfer Type",
"Navigate On Remote",
"Delete On Remote",
"Local",
"Help",
"Misc Settings",
"Close Connection",
"Command Line Options"
],
"sections": {
"Establish Connection": [
{
"key": "open",
"val": "Connects to the specified FTP server"
},
{
"key": "status",
"val": "Displays the current status of FTP connections"
},
{
"key": "user",
"val": "Specifes a user to the remote computer"
}
],
"Download": [
{
"key": "get",
"val": "Copies a single remote file to the local computer"
},
{
"key": "mget",
"val": "Copies one or more remote files to the local computer"
},
{
"key": "recv",
"val": "Copies a remote file to the local computer"
}
],
"Upload": [
{
"key": "put",
"val": "Copies a single local file to the remote computer"
},
{
"key": "mput",
"val": "Copies one or more local files to the remote computer"
},
{
"key": "send",
"val": "Copies a local file to the remote computer (same as “put”)"
},
{
"key": "append",
"val": "Appends a local file to a file on the remote computer"
}
],
"Toggle Transfer Type": [
{
"key": "ascii",
"val": "Sets the file transfer type to ASCII, the default"
},
{
"key": "binary",
"val": "Sets the file transfer type to binary"
},
{
"key": "type",
"val": "Sets or displays the file transfer type (default = ASCII)"
}
],
"Navigate On Remote": [
{
"key": "ls",
"val": "Displays an abbreviated list of a remote directory’s files and subdirectories"
},
{
"key": "dir",
"val": "Displays a list of a remote directory’s files and subdirectories"
},
{
"key": "pwd",
"val": "Displays the current directory on the remote computer (literally, “print working directory”)"
},
{
"key": "cd",
"val": "Changes the working directory on the remote computer"
},
{
"key": "mkdir",
"val": "Creates a remote directory"
},
{
"key": "rename",
"val": "Renames remote files"
},
{
"key": "mdir",
"val": "Displays a list of a remote directory’s files and subdirectories"
},
{
"key": "mls",
"val": "Displays an abbreviated list of a remote directory’s files and subdirectories"
}
],
"Delete On Remote": [
{
"key": "delete",
"val": "Deletes a single file on a remote computer"
},
{
"key": "mdelete",
"val": "Deletes one or more files on a remote computer"
},
{
"key": "rmdir",
"val": "Deletes a remote directory"
}
],
"Local": [
{
"key": "!",
"val": "Runs the specified command on the local computer"
},
{
"key": "lcd",
"val": "Changes the working directory on the local computer"
}
],
"Help": [
{
"key": "?",
"val": "Displays descriptions for ftp commands"
},
{
"key": "help",
"val": "Displays descriptions for ftp commands"
},
{
"key": "remotehelp",
"val": "Displays help for remote commands"
}
],
"Misc Settings": [
{
"key": "hash",
"val": "Toggles hash sign (#) printing for each data block transferred (default = OFF)"
},
{
"key": "bell",
"val": "Toggles a bell to ring after each file transfer command is completed (default = OFF)"
},
{
"key": "verbose",
"val": "Toggles verbose mode (default = ON)"
},
{
"key": "prompt",
"val": "Toggles prompting (default = ON)"
},
{
"key": "trace",
"val": "Toggles packet tracing (default = OFF)"
},
{
"key": "glob",
"val": "Toggles filename globbing (wildcard characters) (default = ON)"
},
{
"key": "debug",
"val": "Toggles debugging (default = OFF)"
}
],
"Close Connection": [
{
"key": "bye",
"val": "Ends the FTP session and exits ftp"
},
{
"key": "quit",
"val": "Ends the FTP session with the remote computer and exits ftp (same as “bye”)"
},
{
"key": "close",
"val": "Ends the FTP session and returns to the command interpreter"
},
{
"key": "disconnect",
"val": "Disconnects from the remote computer, retaining the ftp prompt"
}
],
"Command Line Options": [
{
"key": "-v",
"val": "Suppresses verbose display of remote server responses"
},
{
"key": "-n",
"val": "Suppresses auto login"
},
{
"key": "-i",
"val": "Turns off interactive prompting during multiple file transfers"
},
{
"key": "-d",
"val": "Enables debugging, displaying all ftp commands passed between the client and server"
},
{
"key": "-g",
"val": "Disables filename globbing, which permits the use of wildcard chracters in local file and path names"
},
{
"key": "-s:filename",
"val": "Specifies a text file containing ftp commands; the commands will automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>)"
},
{
"key": "-a",
"val": "Use any local interface when binding data connection"
},
{
"key": "-w:windowsize",
"val": "Overrides the default transfer buffer size of 4096"
},
{
"key": "-computer",
"val": "Specifies the computer name or IP address of the remote computer to connect to. The computer, if specified, must be the last parameter on the line"
}
]
}
}