Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
IBM Manuals
Server
Aspera HST
Admin manual
IBM Aspera HST Admin Manual page 86
High-speed transfer server
Hide thumbs
1
Table Of Contents
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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
page
of
353
Go
/
353
Contents
Table of Contents
Troubleshooting
Bookmarks
Table of Contents
Advertisement
{
"error" : {
"code" : "1022",
"message" : "The file fails validation"
}
}
Custom Code for Including and Excluding Files
Administrators can include or exclude files by enabling whitelisting, blacklisting, or another method of their own
design. You can do this by creating custom code in the programming language of your choice, using a web server that
runs a REST service. (HST Server users have the option to use the web server associated with that installation).
The following is an example of custom code that creates a file blacklist, using a Java servlet deployed on an Apache
web server. Note that this code uses the servlet name SimpleValidator, which was defined in web.xml above.
package aspera.validation;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.BufferedReader;
import java.io.IOException;
@WebServlet(name = "SimpleValidator")
public class SimpleValidator extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
StringBuilder fileRequestJSON = new StringBuilder();
BufferedReader reader = request.getReader();
String line = "";
Gson gson = new Gson();
System.out.println("Got Validation request...");
while (line != null) {
line = reader.readLine();
if (!(line == null)) {
fileRequestJSON.append(line).append("\n");
}
}
ValidationInput validationInput =
gson.fromJson(fileRequestJSON.toString(), ValidationInput.class);
System.out.println("FileData JSON: " + fileRequestJSON.toString());
if (validationInput.file != null &&
validationInput.file.endsWith(".sh")
|| validationInput.file.endsWith(".exe")) {
JsonObject innerObject = new JsonObject();
innerObject.addProperty("message", "Cannot transfer executable
file!!");
innerObject.addProperty("code", 1);
JsonObject jsonObject = new JsonObject();
jsonObject.add("error", innerObject);
| Configure the Server from the Command Line | 86
Table of
Contents
Previous
Page
Next
Page
1
...
83
84
85
86
87
88
89
90
Show Quick Links
Quick Links:
Aspera.conf - Transfer Server Configuration
Hide quick links:
Permanently
Temporary
Cancel
Advertisement
Table of Contents
Troubleshooting
Troubleshooting Stream Transfers
158
Logging
264
Troubleshooting Continuous Aspera Sync Errors
266
Client Configurations
329
Related Manuals for IBM Aspera HST
Server IBM AS/400e User Handbook Manual
(834 pages)
Server IBM AS/400e Manual
Logical partitions: managing (46 pages)
Server IBM AS/400 Repair And Parts Manual
(96 pages)
Server IBM NetVista Hardware Manual
Hardware maintenance manual for netvista 6266, 6270, 6276, 6279, 6280, and 6286 systems (135 pages)
Server IBM 2809 Instruction
2809 or 2824 lan/wan workstation card (24 pages)
Server IBM Power System AC922 Quick Install Manual
(16 pages)
Server IBM Power System AC922 Quick Install Manual
(18 pages)
Server IBM Power System AC922 Series Quick Install Manual
(16 pages)
Server IBM Power System AC922 Installing
(138 pages)
Server IBM Power AC922 8335-GTW Handbook
Problem analysis, system parts, and locations (70 pages)
Server IBM AS/400e 270 Upgrade
Upgrading the system unit from twinaxial console to operations console (feature 5544) (26 pages)
Server IBM IBM B50 User Manual
Ibm computer hardware user manual (221 pages)
Server IBM IBM system x3200 Product Manual
(14 pages)
Server IBM System/370 Operator's Reference Manual
(259 pages)
Server IBM System x3850 X5 Installation And User Manual
Types 7145, 7146, 7143, and 7191 (148 pages)
Server IBM xSeries 206 8482 Installation Manual
(116 pages)
Related Products for IBM Aspera HST
IBM AS/400e 170
IBM AS/400e 250
IBM Power System AC922
IBM Power AC922 8335-GTG
IBM Power AC922 8335-GTW
IBM Power AC922 8335-GTH
IBM Power AC922 8335-GTX
IBM Power AC922 8335-GTC
IBM AS/400e
IBM AS/400
IBM A Series
IBM AS/400e 270
IBM AS/400e 820
IBM ThinkCentre A50 8175
IBM NetVista A20i
IBM NetVista A60
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL