Commit Graph

42 Commits

Author SHA1 Message Date
Danil Yarantsev
56461c280f Change stdlib imports to use std prefix in most examples (#17202) 2021-02-28 13:17:19 -08:00
flywind
47c078e29c use single backtick (#17166) 2021-02-23 21:05:39 -08:00
flywind
f140c92409 fix some warnings (#16952) 2021-02-08 13:50:15 +01:00
Juan Carlos
78a99587a4 Deprecate TaintedString (#15423)
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
2021-01-15 18:56:38 -08:00
supakeen
bbe2eb20df Provide a configurable progressInterval. (#15477) 2020-10-04 11:32:07 +01:00
supakeen
662c508075 Return type of asyncftpclient to fix example. (#15476)
Related to: #13641
2020-10-03 13:43:43 +02:00
Miran
5fafa2fd5c fix several newline problems (#15028) [backend]
* prevent newlines where they shouldn't be
* 'contentLength' shouldn't be negative
2020-07-21 22:49:08 +02:00
Miran
f4f21c89e5 asyncftpclient.nim - don't assume a sufficiend line length (#14973) 2020-07-14 02:18:02 -04:00
Timothee Cour
dc5a40f3f3 {.deprecated: [existsFile: fileExists].} (#14735)
* {.deprecated: [existsFile: fileExists].}

* s/existsFile/fileExists/ except under deps

* workaround pending #14819

* fix test
2020-07-02 16:19:13 +02:00
Kaushal Modi
bf0e1c696f Remove the uses of {.procvar.} pragma (#14359)
This pragma did nothing.

Ref:
- https://github.com/nim-lang/Nim/issues/2172#issuecomment-383276469
- https://github.com/nim-lang/Nim/issues/12975
2020-05-15 23:37:24 +02:00
hlaaftana
4656580b54 Fixes asyncftpclient multiline reading, fixes #4684 (#13242)
Previously, the 4th character of `result` was checked for `'-'` every time, instead of each new line.

Also made it work for taint mode.
2020-01-24 00:18:16 +01:00
perter lee
1f27a2f8ab fix the ftp store function read the local file bug (#13108) [backport]
* Update asyncftpclient.nim

When use newStringOfCap function not have assign memory for the string data,so if use this address the fault is rasise.

* complelete the bugfix
2020-01-13 10:16:19 +01:00
Andreas Rumpf
3a39ab83ac fixes an asyncftpclient bug; refs #13096 [backport] 2020-01-10 09:42:21 +01:00
narimiran
aa513d78e7 [backport] run nimpretty on async 2019-09-30 13:57:58 +02:00
Araq
5abe880469 last stdlib cleanups 2019-09-21 06:43:37 +02:00
narimiran
5484352d26 fix asyncftpclient examples [ci skip] 2019-07-24 11:49:06 +02:00
Araq
bc7733827d make more parts of the stdlib compile with --styleCheck:error 2019-07-10 15:48:30 +02:00
Zed
3b4952da94 Fix header inconsistencies in documentation (#11071) 2019-04-23 08:40:20 +02:00
Miran
0ebfcd4c0f Remove deprecated modules (asyncio, sockets, ftpclient) (#10401) 2019-01-22 16:06:44 +01:00
zargot
e63369f2b9 asyncftpclient: add missing file.close to retrFile 2018-07-02 18:07:24 +02:00
Dominik Picheta
b3c620fc58 Merge branch 'asyncftp-add-removeDir' of https://github.com/pyloor/Nim into pyloor-asyncftp-add-removeDir 2016-09-25 13:11:02 +02:00
Dominik Picheta
1f1ec69fc9 Merge branch 'asyncftp-add-removeFile' of https://github.com/pyloor/Nim into pyloor-asyncftp-add-removeFile 2016-09-25 13:09:32 +02:00
pyloor
bc19b71fd2 Asyncftpclient: adding removeDir proc 2016-09-21 23:58:07 +02:00
pyloor
95e0e6260e adding a test for removing a file 2016-09-21 23:54:38 +02:00
pyloor
cd41479180 adding removeFile proc to asyncftpclient 2016-09-21 23:49:40 +02:00
pyloor
348c7d1faf adding rename proc to asyncftpclient 2016-09-21 23:46:15 +02:00
pyloor
453f8357c0 fix missing procvar pragma 2016-09-16 03:06:13 +02:00
Andreas Rumpf
cd707084d1 fixes calling convention for the callbacks 2016-01-08 12:08:32 +01:00
Dominik Picheta
5998f53280 Added examples to asyncftpclient module. 2015-09-17 22:45:30 +01:00
Dominik Picheta
cb5d090cdb Moved handling of multi-line FTP replies to expectReply. 2015-07-01 21:05:45 +01:00
Luca
110d84a916 remove unnecessary function 2015-06-27 17:06:11 +02:00
Luca
88ae4c1859 Remove redundant 220 check 2015-06-27 14:40:44 +02:00
Luca
32ec7f2f5f Allow AsyncFtpClient and ftpclient to check 220 messages
As many ftp servers can answer with multiple 220 messages these two libraries have to handle multiline 220 messages before send user and pass messages.
2015-06-26 09:18:40 +02:00
Oleh Prypin
32109a7867 Don't run non-test code when defined(testing) 2015-04-21 14:37:29 +03:00
def
64903e7050 Use ^ instead of - in slices 2015-03-28 00:38:15 +01:00
def
e686ca2523 Fix a few more warnings 2015-02-17 02:22:30 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Dominik Picheta
6f155af802 Lots of documentation improvements for asyncdispatch.
Ref #1487.
2014-09-12 22:54:02 +01:00
Araq
7333237be6 'nimfix' improvements; FdSet is TFdSet again 2014-09-08 08:46:35 +02:00
Dominik Picheta
eac71d38d7 s/storeFile/store/ 2014-08-31 12:55:03 +01:00
Dominik Picheta
cff2a0c0b4 Case fixes for network modules. 2014-08-30 11:59:08 +01:00
Dominik Picheta
3a00692ef8 Add asyncftpclient module. 2014-08-29 22:44:05 +01:00