Response log files was not created -- WinSCP unable to transfer over SFTP

Advertisement

mbrit
Joined:
Posts:
1

Response log files was not created -- WinSCP unable to transfer over SFTP

Hi,

I have two servers, both of which are running Windows Server 2012. Both of them have the same .NET 4.5.2 project that calls out to WinSCP via the API.

I have a console application that runs as admin. It works fine, until it starts running into problems writing to the c:\Windows\Temp folder. The only way to get out of the predicament is restarting the server.

Here is the exception:
WinSCP.SessionLocalException: WinSCP process terminated with exit code 3. There was no output. Response log file C:\Windows\TEMP\wscp215C.019AAC99.tmp was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.
at WinSCP.Session.Open(SessionOptions sessionOptions)
at BootFX.DbBackup.SessionExtender.Open(Session session, RepositoryItem item) in D:\Code\BootFX.DbBackup\BootFX.DbBackup\Repositories\SessionExtender.cs:line 14
at BootFX.DbBackup.SftpRepository.DoStore(String stagingPath, DatabaseItem item, BackupFileType type) in D:\Code\BootFX.DbBackup\BootFX.DbBackup\Repositories\SftpRepository.cs:line 32
at BootFX.DbBackup.Repository.Store(String stagingPath, DatabaseItem item, BackupFileType type) in D:\Code\BootFX.DbBackup\BootFX.DbBackup\Repositories\Repository.cs:line 27
at BootFX.DbBackup.BackupEngine.Backup(DatabaseItem item, IConnection master) in D:\Code\BootFX.DbBackup\BootFX.DbBackup\Services\BackupEngine.cs:line 214
at BootFX.DbBackup.BackupEngine.OnElapsed(EventArgs e) in D:\Code\BootFX.DbBackup\BootFX.DbBackup\Services\BackupEngine.cs:line 99

I am running 5.9.4.

Thanks,
Matt

Thanks,
Matt

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: Response log files was not created -- WinSCP unable to transfer over SFTP

Is there any other processes on the same machine that may use an old version of WinSCP .NET assembly?

Do you have the same problem on both machines?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: Any Solution ?

Mohammad Ali wrote:

Did you find any solution for this issue ?
As you can see, I never got any response to my questions above.
Can you provide details about your specific problem?

Reply with quote

Atul Pethe
Guest

Response log files was not created -- WinSCP unable to transfer over SFTP

make sure you closed all sftp session in finally block.

finally{
if (sessionSFTP.Opened == true){
sessionSFTP.Close();
}
sessionSFTP = null;
}

Reply with quote

Advertisement

You can post new topics in this forum