T. R. Bernstein
7a51ed9d07
feat: convert commonjs to esm modules
2025-05-29 15:56:59 +02:00
T. R. Bernstein
c716470b5b
chore: Reformat all files
2025-04-17 12:33:43 +02:00
Amr Ibrahim
a8cdcb0eb3
fix: replace .finally with .then ( #322 )
2022-06-24 10:55:10 -06:00
techmunk
4cd88b129c
fix: ensure commandSocket is set before retrieving ip address of connection ( #222 )
2020-12-08 11:05:50 -07:00
Devonte
c87ce2fef6
fix: log errors, improved messages ( #156 )
...
Spelling errors, improved error logs.
2020-09-08 08:38:14 -06:00
Tyler Stewart
ca576acf2e
fix: correctly destroy socket on close ( #208 )
...
* chore: update owner references
* fix: correctly destroy socket on close
This fixes an issue where the client would never close, hanging the server and preventing shutdown
* fix: only set timeout if greater than 0
* fix: move dependency to top
* fix: notify of command that caused error
* fix: emit disconnect event on client close
2020-07-20 16:30:04 -06:00
Tyler Stewart
5ffcef3312
fix: dont format message is empty
2019-08-22 14:57:40 -06:00
Tibor Papp
290769a042
Possibility to send back empty message
2019-08-22 14:57:40 -06:00
ls
0094614ee3
feat: socket timeout ( #154 )
...
* feat: managed new param socketTimeout expressed in ms
* feat: changed README.md
* feat: changed README.md
* feat: minor change
* feat: pull request changes
* feat: timeout value is set on 'options' object
2019-03-04 16:45:27 +00:00
Sergey Kuvakin
8c8f3922a3
feat: expose a RNTO event ( #151 )
...
* feat(commands): expose a RNTO event, updated a readme file
* feat(commands): fixed test for the RNTO
* chore: fixed prepush errors
* fix: turnback spaces into a README.md
2019-02-21 18:04:01 +00:00
zGwit
eca26ee86a
fix: close connection on timeout ( #145 )
...
* Close connection when timeout
* Add promise processing
2019-01-17 02:44:48 +00:00
Tyler Stewart
4801ecc0cc
fix: correct timeouts around TLS data connection ( #128 )
...
* fix: timeouts when using tls
* fix: correct tls connection
* fix(connector): dont prematurely destroy socket
* fix(passive): set connected if not tls
* refactor: dont return promises on connector end
Since we're not waiting, we don't need to return promises
2018-11-12 03:19:57 +00:00
Tyler Stewart
40b08893ac
refactor(connection): only return IP of commandSocket
...
Since the dataSocket and commandSocket must be on the same IP for a data channel to open, it is redundant to check the dataSocket IP.
2018-02-09 19:38:04 -07:00
Tyler Stewart
8a2454ceea
fix(connection): remove listeners on close
2018-02-09 19:38:04 -07:00
Tyler Stewart
b07e0189ee
feat(connection): extend event emitter
...
Allow custom events
2018-02-09 19:38:04 -07:00
Tyler Stewart
6c08cc2aed
refactor: assimilate promises using resolve instead of try
2018-01-10 10:49:02 -07:00
Tyler Stewart
d22c911a36
refactor(connection): completely parse message before handling
2018-01-10 10:49:02 -07:00
Tyler Stewart
3b33508f44
feat: migrate to bluebird
...
Replace `when` with `bluebird` promise library
2018-01-10 10:49:02 -07:00
Tyler Stewart
2e02dc20ad
feat(REST): add support for REST command
...
Allows the client to resume a transfer at the specified bytes
2017-06-26 16:38:59 -06:00
Tyler Stewart
8aeb6976d2
fix(auth): update checks, ensure secure is set using ftps
2017-06-26 16:38:59 -06:00
Tyler Stewart
c3b0dbf5b0
feat(OPTS): add opts command handler for utf8
...
master
2017-06-26 11:13:49 -06:00
Tyler Stewart
b2a9851204
fix: ensure utf8 support; allows accent characters
2017-06-20 16:56:26 -06:00
Tyler Stewart
323ee62110
test: test explicit TLS
2017-05-15 15:55:33 -06:00
Tyler Stewart
9bece5f946
feat: add explicit TLS support with AUTH
2017-05-11 18:59:54 -06:00
Tyler Stewart
cf71243729
fix: get dataSocket ip if available
2017-05-11 16:38:14 -06:00
Tyler Stewart
e99059125e
feat(connection): add client-error events
2017-05-11 15:49:28 -06:00
Tyler Stewart
a75d63df92
fix(fs): resolve paths correctly
...
Should solve win32 issues
fix-compatability-bugs
fix-compatability-bugs
2017-05-05 18:08:47 -06:00
Tyler Stewart
ec010697bb
feat(commands): remove minimist command parser for basic parsing
...
Tokenizes command string based on spaces, concats remaining arguments
This allows filesystem commands to handle directories/files with spaces.
fix-compatability-bugs
2017-05-05 18:08:30 -06:00
Tyler Stewart
61cf1bda39
feat(connection): add helper get for socket remote address
2017-05-04 17:40:37 -06:00
salper
5c1f8f7a65
fix: plug QUIT command
...
master
2017-04-27 13:19:29 -06:00
Tyler Stewart
a62b6f9559
fix: resolve disconnectClient promise, linting
2017-03-27 17:51:10 -06:00
Tyler Stewart
846df72e24
feat(fs): allow default file system root to be set
...
Enables users to only access portions of the file system (eg /home/user)
2017-03-13 13:29:15 -06:00
Tyler Stewart
0c5f8562d5
fix: log cleanup
...
master
2017-03-10 13:35:19 -07:00
Tyler Stewart
f6d1a3828a
feat: add black/white list for commands
...
Allow black/white list to be set for individual connections
BREAKING CHANGE: name change, removed `disabled_commands`
2017-03-07 18:41:27 -07:00
Tyler Stewart
aa8482752e
feat: pass connection on login event
...
HEAD
2017-03-06 15:55:31 -07:00
Tyler Stewart
f57384a0d8
feat: allow default directory to be passed on login
2017-03-06 15:36:21 -07:00
Tyler Stewart
1009970bb9
feat: initial commit
...
HEAD
2017-03-06 15:07:02 -07:00
Tyler Stewart
d188aee0be
chore: init
...
HEAD
2017-02-26 23:46:23 -07:00