Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Local Path directory is being modified, can't upload files via "PutFiles"

WinSCP is Windows software.
brunp

Re: Local Path directory is being modified, can't upload files via "PutFiles"

This will be eventually running on a Kubernetes cluster and on a Linux based container that will run .NET Core. So, I assume it would not work then there?

Paul
martin

Re: Local Path directory is being modified, can't upload files via "PutFiles"

You are passing c:/temp/sftp/2022-07-26/file.joaapay to WinSCP, not C:\temp\sftp\2022-07-25\file.xml. That's what confuses it.
brunp

I have since moved to use SSH.NET instead of WinSCP. Would be interested in knowing the solution.
brunp

I have uploaded the log file.
This solution will eventually become a .NET Docker image and run in a Kubernetes cluster.
Thank you
Paul
brunp

Local Path directory is being modified, can't upload files via "PutFiles"

Hi there,
I am writing an application in .NET Core 6.0 and I assume that the library is supported since it supports .NET Standard 2.1

I have written the program and have writing a file to:
C:\temp\sftp\2022-07-25\file.xml
but when I try to transfer to destination and submit the PutFiles command, I get an error saying that "c:file.xml" doesn't exist.

But that is not what I am transferring.

Please advise.
Paul