redirect logfile

Advertisement

Barbara
Joined:
Posts:
1

redirect logfile

The log output for batch processes is written to
M:\Abteilung\winscp\WinSCPPortable\Data\settings\winscp.log - which is the default -
and not to the file specified in the command

here is my command
M:\Abteilung\winscp\WinSCPPortable\WinSCPPortable.exe /console
/log=M:\Produktion\excel\real\Warenbestand\ftp\sFTP\WB.log
/script=M:\Produktion\excel\real\Warenbestand\ftp\sFTP\WB.par

here is the par
option echo off
option batch abort
option confirm off
open nice@duseyt2

cd daten
cd sap

lcd M:\Produktion\excel\real\Warenbestand\Textfiles
get KERTexteLUBZL
exit


Please help

Reply with quote

Advertisement

mblake4u
Guest

I'm not too sure about the portable version - maybe try substituting winscp.exe and see what happens.

Or test with a different path..

Reply with quote

Guest

Re: redirect logfile

martin wrote:

Yes, please try the standard winscp.exe. WinSCPPortable.exe is not our "product", so I cannot help you with that.

Note that standard WinSCP is also portable:
https://winscp.net/eng/docs/portable
:D I did as you advised and it works. I choose the .com edition. Thank you very much

Reply with quote

Advertisement

You can post new topics in this forum