We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e74b89 commit 801ec21Copy full SHA for 801ec21
1 file changed
Project/Sources/Classes/FileTransfer_curl.4dm
@@ -193,7 +193,7 @@ Function renameFile($sourcepath : Text; $targetpath : Text)->$success : Object
193
ASSERT:C1129($targetpath#""; "target path must not be empty")
194
$url:=This:C1470._buildURL()
195
If (This:C1470._protocol#"SFTP")
196
- $url:=$url+" -Q "+Char:C90(34)+"-cu "+$sourcepath+Char:C90(34)+" -Q "+Char:C90(34)+"-RNTO "+$targetpath+Char:C90(34)
+ $url:=$url+" -Q "+Char:C90(34)+"-RNFR "+$sourcepath+Char:C90(34)+" -Q "+Char:C90(34)+"-RNTO "+$targetpath+Char:C90(34)
197
Else
198
$url:=$url+" -Q "+Char:C90(34)+"-RENAME "+$sourcepath+Char:C90(34)+" "+$targetpath+Char:C90(34)
199
End if
0 commit comments