Skip to content

Commit

Permalink
[FIX][SFTP] Fix username parameter error in sftp sink document (apach…
Browse files Browse the repository at this point in the history
  • Loading branch information
wuchunfu authored Aug 7, 2024
1 parent 764d8b0 commit 191d9e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/en/connector-v2/sink/SftpFile.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ By default, we use 2PC commit to ensure `exactly-once`
|---------------------------------------|---------|----------|--------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
| host | string | yes | - | |
| port | int | yes | - | |
| username | string | yes | - | |
| user | string | yes | - | |
| password | string | yes | - | |
| path | string | yes | - | |
| tmp_path | string | yes | /tmp/seatunnel | The result file will write to a tmp path first and then use `mv` to submit tmp dir to target dir. Need a FTP dir. |
Expand Down Expand Up @@ -72,9 +72,9 @@ The target sftp host is required

The target sftp port is required

### username [string]
### user [string]

The target sftp username is required
The target sftp user is required

### password [string]

Expand Down Expand Up @@ -229,7 +229,7 @@ For text file format with `have_partition` and `custom_filename` and `sink_colum
SftpFile {
host = "xxx.xxx.xxx.xxx"
port = 22
username = "username"
user = "username"
password = "password"
path = "/data/sftp/seatunnel/job1"
tmp_path = "/data/sftp/seatunnel/tmp"
Expand Down

0 comments on commit 191d9e1

Please sign in to comment.