Topic "Cannot create remote file.filepart' c#"

Author Message
parthis
[View user's profile]

Joined: 2013-10-21
Posts: 1
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?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please attach a complete session log file both from .NET and GUI.
_________________
Martin Prikryl
karenlucy
[View user's profile]

Joined: 2013-11-06
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
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
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License