No sorry. It's a customer's server so i can't give out creds. Tried the latest beta you shared:
$ rclone version
rclone v1.52.2-137-g43c4109a-fix-sftp-wsftp-beta
- os/arch: linux/amd64
- go version: go1.14.4
doing the same three commands for consistency. Got slightly different results on lsl
$ rclone -vv lsd dddOutgoing:
2020/06/27 09:55:37 DEBUG : rclone: Version "v1.52.2-137-g43c4109a-fix-sftp-wsftp-beta" starting with parameters ["rclone" "-vv" "lsd" "dddOutgoing:"]
2020/06/27 09:55:37 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2020/06/27 09:55:38 DEBUG : sftp://user@example.com:22/: New connection 1.2.3.4:40768->4.5.6.7:22 to "SSH-2.0-WS_FTP-SSH_7.6.2"
2020/06/27 09:55:39 DEBUG : Dir Stat result for "." is &sftp.fileInfo{name:".", size:0, mode:0x800001e8, mtime:time.Time{wall:0x0, ext:63728709547, loc:(*time.Location)(0x2a063a0)}, sys:(*sftp.FileStat)(0xc0001b7600)}, <nil>
-1 2020-06-08 23:47:31 -1 IN
-1 2020-06-08 23:47:39 -1 OUT
2020/06/27 09:55:40 DEBUG : 11 go routines active
$ rclone -vv lsl dddOutgoing:
2020/06/27 09:55:50 DEBUG : rclone: Version "v1.52.2-137-g43c4109a-fix-sftp-wsftp-beta" starting with parameters ["rclone" "-vv" "lsl" "dddOutgoing:"]
2020/06/27 09:55:50 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2020/06/27 09:55:50 DEBUG : sftp://user@example.com:22/: New connection 1.2.3.4:40770->4.5.6.7:22 to "SSH-2.0-WS_FTP-SSH_7.6.2"
2020/06/27 09:55:50 DEBUG : Dir Stat result for "." is &sftp.fileInfo{name:".", size:0, mode:0x800001e8, mtime:time.Time{wall:0x0, ext:63728709547, loc:(*time.Location)(0x2a063a0)}, sys:(*sftp.FileStat)(0xc00003a640)}, <nil>
2020/06/27 09:55:51 DEBUG : Dir Stat result for "./OUT" is &sftp.fileInfo{name:"OUT", size:0, mode:0x800001e8, mtime:time.Time{wall:0x0, ext:63727278459, loc:(*time.Location)(0x2a063a0)}, sys:(*sftp.FileStat)(0xc00003bd00)}, <nil>
2020/06/27 09:55:51 ERROR : OUT: error listing: error listing "OUT": sftp: "Folder not found: OUT/" (SSH_FX_FAILURE)
2020/06/27 09:55:51 DEBUG : sftp://user@example.com:22/: New connection 1.2.3.4:40772->4.5.6.7:22 to "SSH-2.0-WS_FTP-SSH_7.6.2"
2020/06/27 09:55:51 DEBUG : Dir Stat result for "./IN" is &sftp.fileInfo{name:"IN", size:0, mode:0x800001e8, mtime:time.Time{wall:0x0, ext:63727278451, loc:(*time.Location)(0x2a063a0)}, sys:(*sftp.FileStat)(0xc000125300)}, <nil>
2020/06/27 09:55:51 ERROR : IN: error listing: error listing "IN": sftp: "Permission Denied! " (SSH_FX_PERMISSION_DENIED)
2020/06/27 09:55:51 DEBUG : 20 go routines active
2020/06/27 09:55:51 Failed to lsl with 3 errors: last error was: error listing "IN": sftp: "Permission Denied! " (SSH_FX_PERMISSION_DENIED)
$ rclone --low-level-retries 1 --retries 1 -vv copy nohup.out dddOutgoing:IN
2020/06/27 10:07:11 DEBUG : rclone: Version "v1.52.2-137-g43c4109a-fix-sftp-wsftp-beta" starting with parameters ["rclone" "--low-level-retries" "1" "--retries" "1" "-vv" "copy" "nohup.out" "dddOutgoing:IN"]
2020/06/27 10:07:11 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2020/06/27 10:07:11 DEBUG : fs cache: renaming cache item "nohup.out" to be canonical "/home/ubuntu"
2020/06/27 10:07:11 DEBUG : sftp://user@example.com:22/IN: New connection 1.2.3.4:40780->4.5.6.7:22 to "SSH-2.0-WS_FTP-SSH_7.6.2"
2020/06/27 10:07:13 DEBUG : Stat result for "IN" is <nil>, &errors.errorString{s:"file does not exist"}
2020/06/27 10:07:13 DEBUG : Stat result for "IN/nohup.out" is <nil>, &errors.errorString{s:"file does not exist"}
2020/06/27 10:07:13 DEBUG : nohup.out: Need to transfer - File not found at Destination
2020/06/27 10:07:13 DEBUG : Dir Stat result for "./IN" is <nil>, &errors.errorString{s:"file does not exist"}
2020/06/27 10:07:13 ERROR : nohup.out: Failed to copy: Put mkParentDir failed: mkdir "IN" failed: sftp: "Folder already exists: IN" (SSH_FX_FAILURE)
2020/06/27 10:07:13 ERROR : Attempt 1/1 failed with 1 errors and: Put mkParentDir failed: mkdir "IN" failed: sftp: "Folder already exists: IN" (SSH_FX_FAILURE)
2020/06/27 10:07:13 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s
2020/06/27 10:07:13 DEBUG : 11 go routines active
2020/06/27 10:07:13 Failed to copy: Put mkParentDir failed: mkdir "IN" failed: sftp: "Folder already exists: IN" (SSH_FX_FAILURE)
if there's something i can do on the server to test, lemme know. sftp
works fine, get, put, etc.
$ sftp <USERNAME>@example.com
<USERNAME>@example.com's password:
Connected to example.com.
sftp> ls
IN OUT
Connected to example.com.
sftp> cd IN
sftp> put nohup.out
Uploading nohup.out to /user/IN/nohup.out
nohup.out 100% 187 8.3KB/s 00:00
sftp> ls
nohup.out