Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Question on why the LOG FILE was NOT created
- Melinda Savoy
August 23, 2013, 5:59 pm
rate this thread
I am working in version 0.60 for Windows.
I am having to use PSFTP to connect to a network in order to download 2 files on a daily basis. I was able to create a .BAT file and in that .BAT file I have the following:
psftp XXX_XX -l USERNAME -i C:\Scripts\XXX\testXXX.ppk -v -b C:\Scripts\XXX\DownloadReports.txt
XXX_XX is my session name where I have the logging setup as follows:
selected: Printable output
Log file name: C:\Scripts\XXX\Logs\&Y&M&D&T_XXX_XX.log
selected: Always append to append to the end of it
checked: Flush log file frequently
When I executed the .BAT file it executed my PSFTP script JUST FINE. The problem is that the LOG FILE was NEVER created. I'm not sure what I've done wrong. Any help would be appreciated.
Re: Question on why the LOG FILE was NOT created
LOG when executing a PSFTP command that I have in a windows .bat file.
iles on a daily basis. I was able to create a .BAT file and in that .BAT f
ile I have the following:
problem is that the LOG FILE was NEVER created. I'm not sure what I've do
ne wrong. Any help would be appreciated.
My apologies. I did not read down to the BOTTOM of the post I read earlier
but apparently the LOG FILE will NOT be created because log file only get
created for SSH saved sessions but NOT NON-SSH saved sessions. This was ad
dressed in 2011 by Owen Dunn so unless it has been changed I guess it is NO
T DO-ABLE. Thanks anyway.
- » Reommended web based ssh terminals wanted (e.g. ajaxterm or anyterm based)
- — Next thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum