Skip to content

Commit 0643eeb

Browse files
authored
[Fix][Doc] Fix FTP sink config key username to user (#6627)
* [Fix][Doc] Fix FTP sink config key `username` to `user` * [Fix][Doc] Fix FTP sink config key `username` to `user`
1 parent 64ebdb7 commit 0643eeb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: docs/en/connector-v2/sink/FtpFile.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ By default, we use 2PC commit to ensure `exactly-once`
3535
|----------------------------------|---------|----------|--------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
3636
| host | string | yes | - | |
3737
| port | int | yes | - | |
38-
| username | string | yes | - | |
38+
| user | string | yes | - | |
3939
| password | string | yes | - | |
4040
| path | string | yes | - | |
4141
| 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. |
@@ -70,7 +70,7 @@ The target ftp host is required
7070

7171
The target ftp port is required
7272

73-
### username [string]
73+
### user [string]
7474

7575
The target ftp username is required
7676

@@ -225,7 +225,7 @@ For text file format simple config
225225
FtpFile {
226226
host = "xxx.xxx.xxx.xxx"
227227
port = 21
228-
username = "username"
228+
user = "username"
229229
password = "password"
230230
path = "/data/ftp"
231231
file_format_type = "text"
@@ -243,7 +243,7 @@ For text file format with `have_partition` and `custom_filename` and `sink_colum
243243
FtpFile {
244244
host = "xxx.xxx.xxx.xxx"
245245
port = 21
246-
username = "username"
246+
user = "username"
247247
password = "password"
248248
path = "/data/ftp/seatunnel/job1"
249249
tmp_path = "/data/ftp/seatunnel/tmp"

0 commit comments

Comments
 (0)