PDA

View Full Version : puTTY Help !!!!!!



itsonlyme4
03-03-2006, 06:36 AM
Does anyone use puTTY command line options?????

I am running the following command to send a .csv file to our web hosting vendor.

pscp -v -l USERNAME -i c:\PublicKey.ppk c:\Filename.csv server.vendor.com:/usr/home/upload.csv

This works GREAT and I have it scheduled as a simple windows scheduled task to run daily to push the .csv file to our Vendor. What I'm struggling with is how to do an automated notification that it all worked!! the -v option in the command above gives me a verbose description to the command line (DOS) window while the transfer is actually running that gives filesize and a return code, etc... . If I could get it to write that info to a log or txt file, I could write a little VB code to read the file and email me the results.

Does anyone know how to get a log file of these results?????????????

Eric
03-03-2006, 09:03 AM
Sorry, I don't but thank you for the information I was unaware that you could scp with putty.

dave
03-06-2006, 07:21 PM
If I understand the question (which I probably don't)... Can you just add ">outfile.txt" to the end of the line to redirect output from the screen to a text file?

-- Dave