Cannot create remote file.filepart' c#

Advertisement

parthis
Joined:
Posts:
1

Cannot create remote file.filepart' c#

I am trying to use the .NET assembly and following the instructions in the documentation.
https://winscp.net/eng/docs/library_session_getfiles#example

I always get "Cannot create remote file '/root/data/filename.csv.filepart'."

When I manually try this using the WinSCP client, I can successfully upload the same document. I am using the same sessionOptions and transferOptions. I don't what I am missing.

Any suggestions?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Cannot create remote file.filepart' c#

Please attach a complete session log file both from .NET and GUI.
_________________
Martin Prikryl

Reply with quote

karenlucy
Joined:
Posts:
1
Location:
newyork

I'd like to disable the resume feature using an INI file, but as I haven't used an INI before and I can't find much in the way of documentation for these files I'd like to check here that I'm using it correctly.
_________________
karen

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

karenlucy wrote:

I'd like to disable the resume feature using an INI file, but as I haven't used an INI before and I can't find much in the way of documentation for these files I'd like to check here that I'm using it correctly.
You should better use TransferOptions.ResumeSupport:
https://winscp.net/eng/docs/library_transferoptions
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum