Commit 4ae62c9
* GH-10854: Fix remote file long name for SFTP
Fixes: #10854
The logic in the framework is to use a long file name (preferably, the whole path) for metadata key.
This was implemented via: #10162
Fix `SftpSession.doList()` not consulting with whatever `SftpClient` returns but
rather using a remote dir as long name prefix unconditionally.
This would make it exactly what we claim in docs and consistent with FTP
* Remove blank line
Signed-off-by: Artem Bilan <artem.bilan@broadcom.com>
---------
Signed-off-by: Artem Bilan <artem.bilan@broadcom.com>
(cherry picked from commit 0c24a46)
1 parent 1a4ffaf commit 4ae62c9
File tree
3 files changed
+17
-14
lines changed- spring-integration-sftp/src
- main/java/org/springframework/integration/sftp/session
- test/java/org/springframework/integration/sftp
- session
3 files changed
+17
-14
lines changedLines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
| 129 | + | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | 133 | | |
138 | | - | |
| 134 | + | |
139 | 135 | | |
140 | 136 | | |
141 | 137 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
159 | 163 | | |
160 | 164 | | |
161 | 165 | | |
162 | | - | |
| 166 | + | |
163 | 167 | | |
164 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
165 | 172 | | |
166 | | - | |
167 | | - | |
168 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
169 | 176 | | |
170 | 177 | | |
171 | 178 | | |
| |||
0 commit comments