remote.Combine
Hi, Oh ok.
Thank you for the information!
Regards
Thank you for the information!
Regards
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
RemotePath.Combine("/olympusWeb/webdav", "/TestCoda")
, it will indeed return "/TestCoda"
. That's the expected behavior. It returns the effective path that /TestCoda
will result in, as if you were in /olympusWeb/webdav
working directory. As your path is absolute (starts with slash), the working directory is irrelevant.
PutFileToDirectory
using RemotePath.Combine()
, however, during debugging I now see the paths don't get attached (in fact, I only get the second string returned, being /TestCoda
)
rootFolder
+ targetfolder
) I see it works now, I see the file arrived using WinSCP GUI!
/olympusWeb/webdav/TestCoda/
, while in the code, you are uploading to /TestCoda/
. That's likely the root cause.
PutFileToDirectory
.
session.PutFileToDirectory
, I get the following error:
Error transferring file 'C:\dev\ConfiDesk\confidesk-api\Confidesk.Api\LocalTmpStorage\CDA128-20221118-OR1TMAA19K.TXT'.
WebDAV resource moved to '**'.
302 Moved Temporarily
SessionLogPath
, but the logfile does not get created.