basic-ftp
Advanced tools
Comparing version 2.4.1 to 2.4.2
# Changelog | ||
## 2.4.2 | ||
- Fix documentation of default arguments for login(). | ||
## 2.4.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "basic-ftp", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "FTP/FTPS client library", | ||
@@ -5,0 +5,0 @@ "main": "./lib/ftp", |
@@ -9,3 +9,3 @@ # Basic FTP | ||
This library has two goals: Provide a solid foundation that covers most needs and make it easy to extend functionality if necessary. | ||
This library has two goals: Provide a solid foundation that covers the usual needs and make it easy to extend functionality if necessary. | ||
@@ -83,3 +83,3 @@ FTP is an old protocol, there are many features, quirks and server implementations. It's not a goal to support all of them but it should be easy for you to solve your specific issues without changing the library. | ||
`login(user = "guest", password = "anonymous")` | ||
`login(user = "anonymous", password = "guest")` | ||
@@ -90,3 +90,3 @@ Login with a username and a password. | ||
Sends FTP commands to use binary mode (`TYPE I`) and file structure (`STRU F`). If TLS is enabled it will also send `PBSZ 0` and `PROT P`. This should be called after upgrading to TLS and logging in. | ||
Sends FTP commands to use binary mode (TYPE I) and file structure (STRU F). If TLS is enabled it will also send PBSZ 0 and PROT P. This should be called after upgrading to TLS and logging in. | ||
@@ -93,0 +93,0 @@ `send(command, ignoreErrorCodes = false)` |
85482