Upload: mirror --no-perms (the IIS FTP does not support SITE CHMOD)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 09:57:11 +01:00
co-authored by Claude Sonnet 5.5
parent ffba8c341c
commit c6ba7ce35c
2 changed files with 8 additions and 3 deletions
+2
View File
@@ -694,6 +694,8 @@ printf '%s\\n' "$2" >> '${slash(log)}'
expect(sessions).toHaveLength(3);
for (const commands of sessions) {
expect(commands).toContain('set xfer:make-backup no;');
// De IIS-FTP kent SITE CHMOD niet
expect(commands).toContain('mirror --reverse --no-perms ');
expect(commands).toContain('set ftp:ssl-allow yes;');
expect(commands).toContain('set ftp:ssl-auth TLS;');
expect(commands).toContain('set ftp:ssl-force yes;');