Topic ".NET assembly: Session timeout - can't create temporary file"

Author Message
Crash2975
[View user's profile]

Joined: 2012-08-10
Posts: 6
[Apologies for double-posting this from ".NET assembly / COM library" but this is probably the better place for it!]

I'm using the .NET assembly version 5.0.8.2438 and matching .exe with configured .ini on a Win 2k3 server and driving it from a web app.

I'm running this on a server over which I have no control, and after a long delay the session open raises an exception:

"Timeout waiting for WinSCP to respond - Log file C:\WINNT\TEMP\tmp1CF4.tmp was not created in time, please make sure WinSCP has write permissions to the folder"

Detail:-
at WinSCP.Session.CheckForTimeout(String additional)
at WinSCP.Session.Open(SessionOptions sessionOptions)
at WinScpHelper.UploadFile(String fileName)

The process almost certainly doesn't have write permissions to the system TEMP folder as the server is locked down.

The .ini file is in the same folder as the exe and the assembly and the log/xml options are set off on Session > Logging, and on Storage for it to use .ini and a local Temp folder (and for .rnd) rather than system directory.

The code functions perfectly on my local machine, of course

Is there any other setting I can change? I'm puzzled by it creating a log file when that option is off. Or do I need to explicitly do this in the session open options? I couldn't see anything.

Many TIA.

Trying to open the .exe on the bin folder through windows explorer, it takes nearly 10 minutes before the login panel appears.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Duplicate post:
https://winscp.net/forum/viewtopic.php?t=11485
_________________
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