Print to file script session output

Advertisement

QSS
Joined:
Posts:
7
Location:
Albuqeurque

Print to file script session output

I am syncronizing local and remote directories to download new files/folder and delete old files/folder that have been archived. I would like to have a log that tracks all the files/folders that have been transfered/deleted/uploaded. I think this could be done if i could print/save my script session output to a file. For example once my script is finished and it transfered/deleted some files:


print "C:/winscp.txt"
close session
exit

The reason behind this is because the console window is very simple and short as to telling me what the script is doing. it is loggin in, it is syncronizing, it is deleting a file, it is transfering and so on. If i could capture that and save it to a file it would be much smaller and of better use to me than using the log feature to track the files/folders transfered. The log feature to too detailed and grows very large about 50 mb in a week of transfers.

Reply with quote

Advertisement

Advertisement

Advertisement

You can post new topics in this forum