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?????????????
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?????????????