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

Advertisement

brunp
Joined:
Posts:
4
Location:
Ottawa, ON

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

Reply with quote

Advertisement

brunp
Joined:
Posts:
4
Location:
Ottawa, ON

I have uploaded the log file.
This solution will eventually become a .NET Docker image and run in a Kubernetes cluster.
Thank you
Paul
Description: Re-attached a redacted file and only containing relevant parts of the log.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
37,866
Location:
Prague, Czechia

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.

Reply with quote

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum