Skip to content

Commit 6cbb8eb

Browse files
committed
2.0.4
1 parent ba50a34 commit 6cbb8eb

24 files changed

+32
-26
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
55

66
## [Unreleased]
77

8+
## [2.0.4] - 2018-10-08
9+
### Fixed
10+
- [FTP] Handles FTP server that return an empty list on 404 (like OVH)
11+
812
## [2.0.3] - 2018-03-25
913
### Fixed
1014
- [FTP] Prevents server crash when unable to connect to server (https://github.com/silexlabs/CloudExplorer2/issues/57)

docs/BatchError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ <h4 class="name" id="BatchError"><span class="type-signature"></span>new BatchEr
165165
<br class="clear">
166166

167167
<footer>
168-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
168+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
169169
</footer>
170170

171171
<script>prettyPrint();</script>

docs/DropboxConnector.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ <h2>
4545

4646
<div class="class-description"><p>Service connector for <a href="https://dropbox.com">Dropbox</a> plateform.</p>
4747
<p>This will need a registered Dropbox application with valid redirection for your server.
48-
You can register a new application <a href="https://www.dropbox.com/developers/apps">here</a> and
48+
You can register a new application <a href="https://%3Ca%20href=%22http://www.dropbox.com/developers/apps">here</a>">www.dropbox.com/developers/apps|here}</a> and
4949
learn more about Dropbox OAuth Web application flow
50-
<a href="https://www.dropbox.com/developers/reference/oauth-guide">here</a></p></div>
50+
<a href="https://%3Ca%20href=%22http://www.dropbox.com/developers/reference/oauth-guide">here</a>">www.dropbox.com/developers/reference/oauth-guide|here}</a></p></div>
5151

5252

5353
</header>
@@ -332,7 +332,7 @@ <h6>Properties</h6>
332332

333333
<td class="description last"><p>Write mode when files conflicts. Must be one of
334334
'add'/'overwrite'/'update'.
335-
<a href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload">see Dropbox manual</a></p></td>
335+
<a href="https://%3Ca%20href=%22http://www.dropbox.com/developers/documentation/http/documentation#files-upload">see">www.dropbox.com/developers/documentation/http/documentation#files-upload|see</a> Dropbox manual</a></p></td>
336336
</tr>
337337

338338

@@ -430,7 +430,7 @@ <h6>Properties</h6>
430430
<br class="clear">
431431

432432
<footer>
433-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
433+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
434434
</footer>
435435

436436
<script>prettyPrint();</script>

docs/FsConnector.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ <h6>Properties</h6>
398398
<br class="clear">
399399

400400
<footer>
401-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
401+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
402402
</footer>
403403

404404
<script>prettyPrint();</script>

docs/FtpConnector.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ <h6>Properties</h6>
354354
<br class="clear">
355355

356356
<footer>
357-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
357+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
358358
</footer>
359359

360360
<script>prettyPrint();</script>

docs/GitHubConnector.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ <h6>Properties</h6>
470470
<br class="clear">
471471

472472
<footer>
473-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
473+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:36 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
474474
</footer>
475475

476476
<script>prettyPrint();</script>

docs/RemoteStorageConnector.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ <h6>Properties</h6>
337337
<br class="clear">
338338

339339
<footer>
340-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
340+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:36 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
341341
</footer>
342342

343343
<script>prettyPrint();</script>

docs/SftpConnector.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ <h6>Properties</h6>
354354
<br class="clear">
355355

356356
<footer>
357-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
357+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:36 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
358358
</footer>
359359

360360
<script>prettyPrint();</script>

docs/Unifile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3807,7 +3807,7 @@ <h5>Returns:</h5>
38073807
<br class="clear">
38083808

38093809
<footer>
3810-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
3810+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
38113811
</footer>
38123812

38133813
<script>prettyPrint();</script>

docs/UnifileError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ <h4 class="name" id="UnifileError"><span class="type-signature"></span>new Unifi
164164
<br class="clear">
165165

166166
<footer>
167-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
167+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
168168
</footer>
169169

170170
<script>prettyPrint();</script>

docs/error.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h1 class="page-title">error.js</h1>
9393
<br class="clear">
9494

9595
<footer>
96-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
96+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
9797
</footer>
9898

9999
<script>prettyPrint();</script>

docs/external-Promise.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ <h2>
138138
<br class="clear">
139139

140140
<footer>
141-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
141+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
142142
</footer>
143143

144144
<script>prettyPrint();</script>

docs/external-ReadableStream.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ <h2>
138138
<br class="clear">
139139

140140
<footer>
141-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
141+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
142142
</footer>
143143

144144
<script>prettyPrint();</script>

docs/external-WritableStream.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ <h2>
138138
<br class="clear">
139139

140140
<footer>
141-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
141+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
142142
</footer>
143143

144144
<script>prettyPrint();</script>

docs/global.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ <h5>Type:</h5>
15931593
<br class="clear">
15941594

15951595
<footer>
1596-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1596+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
15971597
</footer>
15981598

15991599
<script>prettyPrint();</script>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ <h2>Roadmap</h2><p><strong>Let's discuss <a href="https://github.com/silexlabs/u
105105
<br class="clear">
106106

107107
<footer>
108-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
108+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
109109
</footer>
110110

111111
<script>prettyPrint();</script>

docs/index.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ <h1 class="page-title">index.js</h1>
406406
<br class="clear">
407407

408408
<footer>
409-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
409+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
410410
</footer>
411411

412412
<script>prettyPrint();</script>

docs/unifile-dropbox.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ <h1 class="page-title">unifile-dropbox.js</h1>
642642
<br class="clear">
643643

644644
<footer>
645-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
645+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
646646
</footer>
647647

648648
<script>prettyPrint();</script>

docs/unifile-fs.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ <h1 class="page-title">unifile-fs.js</h1>
242242
<br class="clear">
243243

244244
<footer>
245-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
245+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
246246
</footer>
247247

248248
<script>prettyPrint();</script>

docs/unifile-ftp.js.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ <h1 class="page-title">unifile-ftp.js</h1>
237237
stat(session, path, ftpSession) {
238238
return callAPI(session, 'ls', ftpSession, path)
239239
.then((entries) => {
240+
// Not found
241+
if(entries.length === 0) throw new UnifileError(UnifileError.ENOENT, 'Not found');
240242
// It's a file
241243
if(entries.length === 1) return toFileInfos(entries[0]);
242244
// It's a folder
@@ -347,7 +349,7 @@ <h1 class="page-title">unifile-ftp.js</h1>
347349
<br class="clear">
348350

349351
<footer>
350-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
352+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
351353
</footer>
352354

353355
<script>prettyPrint();</script>

docs/unifile-github.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ <h1 class="page-title">unifile-github.js</h1>
10581058
<br class="clear">
10591059

10601060
<footer>
1061-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1061+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
10621062
</footer>
10631063

10641064
<script>prettyPrint();</script>

docs/unifile-remoteStorage.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ <h1 class="page-title">unifile-remoteStorage.js</h1>
341341
<br class="clear">
342342

343343
<footer>
344-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
344+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
345345
</footer>
346346

347347
<script>prettyPrint();</script>

docs/unifile-sftp.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ <h1 class="page-title">unifile-sftp.js</h1>
327327
<br class="clear">
328328

329329
<footer>
330-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Mar 25 2018 13:37:12 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
330+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 08 2018 19:46:35 GMT+0200 (Romance Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
331331
</footer>
332332

333333
<script>prettyPrint();</script>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "unifile",
33
"description": "Library to provide a unified API, mirroring Fs, for cloud storage services. ",
4-
"version": "2.0.3",
4+
"version": "2.0.4",
55
"author": "Jean-Baptiste Richardet <jeanbaptiste.richardet@gmail.com> (https://github.com/JbIPS)",
66
"contributors": [
77
"Alex Hoyau <a.hoyau@silexlabs.org> (https://lexoyo.me/)"

0 commit comments

Comments
 (0)