Post a reply

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

mindy

do you have an idea, in which version (when) you'll implement the transfer logs?
mindy

hm and another solution? think i have to get help with xml :- /
martin

Thanks for your post. This issue has been added to tracker.
mindy

hi there! thanks for re-answering.

my cmd output looks very simple o.O

M:\>WinSCP.com /script=f5script.txt /log=f5log.txt
batch on
confirm off
Searching for host...
Connecting to host...
Authenticating...
Using username "USER".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] USER@host
/incoming/dir1
file_1.p12
/incoming
/incoming/dir2
file_2.p12


hmh, any ideas?
martin

Mindy wrote:

on cmd.exe window there is nowhere an 100% or s.th like this.

Post example how your output from cmd.exe looks like for file transfers.
martin

Anonymous wrote:

i want a logfile which is looking like:

date and time
connection succesfull
get file 1 100%
delete file 1 sucessfull

This is contained in XML log.
Mindy

sorry, me again.

In my logfiles or on cmd.exe window there is nowhere an 100% or s.th like this.
Guest

hi and thanks for your reply!

i want a logfile which is looking like:

date and time
connection succesfull
get file 1 100%
delete file 1 sucessfull

.. file 2 ..
.. file 2 ..

file n


the script is starting about every hour and the new log should be integrated in the old log file.


i have read the xml logging docu three times and tried to get some infos by google, after some tries a stopped finding a working solution :(
Otherwise i think i can't use xml logging, because there are some other operations from the batchfile which are logged too. I wish they are in the same logfile like winscp-logs.

Sorry for my bad english and chaotic writing.

greetings - andreas
martin

Re: wrong looking log-file

I do not see any lost in the thread you link. There's just a captured output of the script console.

Have you checked XML logging?
Mindy

wrong looking log-file

hi there!

my problem: i want to download and remove (get -delete) some files from a sftp server. ok so on that works very fine.
my problem is, that my logs are looking very unreadable. i another post here in the forum i saw an log, which would satisfy me much.

https://winscp.net/forum/viewtopic.php?t=6665

i'm starting the winscp session in a bat file with

WinSCP.com /console /script=scriptfile.txt /log=logfile.txt

my scriptfile is the following:

_____________________

option batch on

option confirm off

open user:pw@host

cd directory

get -delete *.* localpath

cd ..

cd newdirectory

get -delete *.* newlocalpath

exit
___________________


hm and my logfile is very huge O:-)

could anybody help me or give me a hint to get a logfile looking like that one in the other topic?