Topic "HELLP WinSCP , desde IIS"

Author Message
JGSISTEM
[View user's profile]

Joined: 2016-10-11
Posts: 3
Location: PERU
Since the application runs normally keep me pdfo to Linux, but when I publish the IIS_IUSRS, I find this error:

WinSCP.SessionLocalException: WinSCP process terminated with exit code 0. There was no output. Response log file C:\windows\TEMP\wscp1864.02886F83.tmp was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.
en WinSCP.Session.Open(SessionOptions sessionOptions)
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
What version of WinSCP are you using?

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
JGSISTEM
[View user's profile]

Joined: 2016-10-11
Posts: 3
Location: PERU
I estimated the application works correctly from VB. Eh arming from the DLL sent to be done this way:

Dim sesOpnt As New SessionOptions
With sesOpnt
.Protocol = Protocol.Sftp
.HostName = “XXXX”
.UserName = “XXXX”
.PortNumber = “XXXX”
.SshPrivateKeyPath = “XXXX”
.SshHostKeyFingerprint = “XXXX”

End With
Using SeSFTP As Session = New Session
SeSFTP.DisableVersionCheck = True

SeSFTP.SessionLogPath = “XXXX”

SeSFTP.ExecutablePath = “XXXX.EXE”

SeSFTP.Open(sesOpnt)

Dim transFerOpt As New TransferOptions
transFerOpt.TransferMode = TransferMode.Binary

Dim transferResul As TransferOperationResult
transferResul = SeSFTP.PutFiles(“RUTA ENVIO”, “RUTA DESTINO” False, transFerOpt)
transferResul.Check()



ME EVERYTHING WORKS PHENOMENAL, the drawback is when we display an ISS me started jumping errors; PERMISSION TO LE DI TEMP FOLDER AND WALLET IIS PROYECTOP writing and reading to all users of server .. not I get the error Temp, NOW I skip this error. regards


WinSCP.SessionRemoteException: Cannot initialize external console.
Request event
System Error. Code: 5.
Acceso denegado
en WinSCP.SessionLogReader.Read(LogReadFlags flags)
en WinSCP.ElementLogReader.Read(LogReadFlags flags)
en WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
en WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags)
en WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags)
en WinSCP.CustomLogReader.WaitForGroupAndCreateLogReader()
en WinSCP.Session.Open(SessionOptions sessionOptions)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Did you read this?
https://winscp.net/eng/docs/message_cannot_initialize_external_console
JGSISTEM
[View user's profile]

Joined: 2016-10-11
Posts: 3
Location: PERU
Everything worked right from a PC, locally and think users to send the user name and password, the problem turned out
from a user from Active Directory.

System.ComponentModel.Win32Exception: El fragmento ha recibido datos incorrectos
en System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
en System.Diagnostics.Process.Start()
en WinSCP.ExeSessionProcess.InitializeChild()
en WinSCP.ExeSessionProcess.Start()
en WinSCP.Session.Open(SessionOptions sessionOptions)
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