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: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

Tannavi Tiwari wrote:

This is a web application.

So did you use the credentials of the local windows account that runs your web server for the Session.ExecutableProcessUserName/Session.ExecutableProcessPassword?

Anyway, WinSCP .NET assembly is not designed for use from a web server. See:
https://winscp.net/eng/docs/library#purpose
... it is also difficult to use the assembly within a restricted environment like a web server, that limits or even restricts execution of external processes.

Having that said, most users are able to use the assembly even from a web server. I do not know what's specific about your setup.
Tannavi Tiwari

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

[quote="Tannavi Tiwari"]

Tannavi Tiwari wrote:

Tannavi Tiwari wrote:

martin wrote:

martin wrote:

We are using winscp on our windows server with .Net Framework 4.5.

Sure. But is it a console application, WinForms application, WPF application, web application, a service...?


Hi Martin,

This is a web application.


Hello Martin,

Any other action item do we need to check on this?

Regards,
Tannavi


Hi Martin,

Any updates on below?

Regards


Hi Martin,

Please can you provide any solution for error: System.TimeoutException: Timeout waiting for WinSCP to respond - WinSCP has not responded in time. There was no output. Response log file D:\WINSCPTemp was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.

This is really impacting business as we are stuck with this issue since long.
Let me know, if you need to sync up to discuss further on this.

Regards,
Tannavi Tiwari

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

Tannavi Tiwari wrote:

martin wrote:

martin wrote:

We are using winscp on our windows server with .Net Framework 4.5.

Sure. But is it a console application, WinForms application, WPF application, web application, a service...?


Hi Martin,

This is a web application.


Hello Martin,

Any other action item do we need to check on this?

Regards,
Tannavi
Tannavi Tiwari

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

martin wrote:

martin wrote:

We are using winscp on our windows server with .Net Framework 4.5.

Sure. But is it a console application, WinForms application, WPF application, web application, a service...?


Hi Martin,

This is a web application.
martin

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

martin wrote:

We are using winscp on our windows server with .Net Framework 4.5.

Sure. But is it a console application, WinForms application, WPF application, web application, a service...?
Tannavi Tiwari

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

Hi Martin,
We are using winscp on our windows server with .Net Framework 4.5.
We tried with exe but it is working however when we are integrating this to our web application, it is giving us error.
We are using the credentials of Windows server, where we need to send the file.

Please can you help us furtehr on this.

Regards.
martin

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

What credentials did you use? Did you use the credentials of the local account that run your code?
Did you try to google that error message? There are many articles that cover it.
Do you understand that the error has nothing to do with your SFTP credentials, right? It's about permissions of your local account to spawn WinSCP process. (Because from the wording of the other post, which I'm quite sure it related to yours, it seems the you do miss that – https://winscp.net/forum/viewtopic.php?t=28862)
You didn't answer this: In what environment do you use WinSCP .NET assembly?
Tannavi Tiwari

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

martin wrote:

In what environment do you use WinSCP .NET assembly?

Did you try setting the Session.ExecutableProcessUserName/Session.ExecutableProcessPassword?


Yes, I have tried this as well but getting error as below.
Error: The trust relationship between the primary domain and the trusted domain failed.

Please can you help us on priority to get this sorted.

Thanks!
martin

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

In what environment do you use WinSCP .NET assembly?

Did you try setting the Session.ExecutableProcessUserName/Session.ExecutableProcessPassword?
Tannavi Tiwari

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

martin wrote:

martin wrote:

WinSCP was working for you before. What has changed since?

You didn't answer this.

me: Winscp is never working for me on my windows server.

martin wrote:

I have changes the logs path to D:\WINSCPLog.
Still I am getting below error with winscp: 2/10/2020 12:25:30 AM, SendToSFTP,Access to the path 'D:\WINSCPLog' is denied.

So use a path, where you have a write access too. For a test did you try some temporary folder or folder where everyone has a write access?

Me: I have already changed the path and provide write access to this folder.

martin wrote:

Regarding the documentation link you have provided, from That I have already implemented all solutions but no luck.

What specifically did you do?

Me: Regarding the document for fix, I have updated the winscp, changes log path..tried all mentioned steps, still no luck.

Please can you help us asap on this.
Tannavi Tiwari

[EXTERNAL] Topic Reply Notification - Hi Team, I need to integrate winSCP SFTP in my application. Pl

Hi,

Winscp is never working for me on my windows server. I have provided all required write permissions to this folder.
Regarding the document for fix, I have updated the winscp, changes log path..tried all mentioned steps, still no luck.

Please can you help us.

Thanks!
martin

Re: Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

martin wrote:

WinSCP was working for you before. What has changed since?

You didn't answer this.

I have changes the logs path to D:\WINSCPLog.
Still I am getting below error with winscp: 2/10/2020 12:25:30 AM, SendToSFTP,Access to the path 'D:\WINSCPLog' is denied.

So use a path, where you have a write access too. For a test did you try some temporary folder or a folder where everyone has a write access?

Regarding the documentation link you have provided, from That I have already implemented all solutions but no luck.

What specifically did you do?
Tannavi Tiwari

Error with winscp(Access to the path 'D:\WINSCPLog' is denied.)

HI Martin,

I have changes the logs path to D:\WINSCPLog.
Still I am getting below error with winscp: 2/10/2020 12:25:30 AM, SendToSFTP,Access to the path 'D:\WINSCPLog' is denied.

Please can you help me on priority to get this fixed.

Regarding the documentation link you have provided, from That I have already implemented all solutions but no luck. Winscp is already updated, I have changes log path as well.

Please provide the resolution asap.
Tannavi Tiwari

Error with winscp

Hey martin,
Please can you help me asap with the above error.
Tannavi Tiwari

Hi Martin,

I am geeting below error.

Timeout waiting for WinSCP to respond - WinSCP has not responded in time. There was no output. Response log file C:\Users\User\AppData\Local\Temp\wscp0644.038CA86C.tmp was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.

Please can you help me asap on this
martin

Re: Hi Team, I need to integrate winSCP SFTP in my application. Please help me with the process.

I already wrote above, that there are no restrictions on WinSCP side.

And you didn't provide any more information.

At least post a log file (Session.SessionLogPath).
Tannavi Tiwari

Re: Hi Team, I need to integrate winSCP SFTP in my application. Please help me with the process.

Hi Martin,

I am trying to upload 18 files of 256 mb each from one windows server to another windows server.
However, it is only uploading 15-16 files. So was wanted to check if there is any restriction with the file size while uploading using winscp.

Regards,
Tannavi
martin

Re: Hi Team, I need to integrate winSCP SFTP in my application. Please help me with the process.

We provide support on this forum only. Please post the enough information here, so that we can help you.
Tannavi Tiwari

Re: Hi Team, I need to integrate winSCP SFTP in my application. Please help me with the process.

Hi Martin,

Please can we connect on call or on screen sharing session to discuss on this issue.
I will share my screen and will show you the issue.

Regards,
Tannavi
martin

Re: Hi Team, I need to integrate winSCP SFTP in my application. Please help me with the process.

Tannavi Tiwari wrote:

Please can you help me to understand, if there is any restriction with file size while uploading using winSCP SFTP.

There are no restrictions. It makes no sense whatsoever that client would restrict you anyhow.
If you need any more assistance, we need a session log file.
Tannavi Tiwari

Re: Hi Team, I need to integrate winSCP SFTP in my application. Please help me with the process.

Hi,

Please can you help me to understand if there is any restriction with winSCp that it will upload only files of some fixed size. When I am trying to upload 18 files of around 233mb size from one server to another..it is only uploading 15 or 16 files.

Please can you help me to understand, if there is any restriction with file size while uploading using winSCP SFTP.

Regards
Tannavi Tiwari

Re: Hi Team, I need to integrate winSCP SFTP in my application. Please help me with the process.

Hi Team,

I am trying to upload 18 files of 233 KB each from one windows server to another Unix server.
It is only allowing to send only 15-16 files and giving below error message:
The remote server returned an error: (409) Conflict.
martin

Re: Hi Team, I need to integrate winSCP SFTP in my application. Please help me with the process.

Sorry, but that's too vague. How integrate?
You may want to use WinSCP .NET assembly:
https://winscp.net/eng/docs/library
Tannavi Tiwari

Hi Team, I need to integrate winSCP SFTP in my application. Please help me with the process.

Hi Team,

I need to integrate winSCP SFTP in one of my application.
Please can you help me to understand the process.

Is there any policy where I need to purchase this or this is available free on web.

Please suggest!

Regards,
Tannavi