Tuesday, November 9, 2010

FTP batch for windows uploading of file

I've been thinking;if there would be a way to upload my windows log to my FTP server. and then came out with this on my mind. Hope you find it useful..

D:                             ;where batch file the will be located
open 1.2.3.4             ; open the session for ftp given the sample address
user                          ; ftp username
password                  ; ftp password
put logon.log            ; file to put on ftp server
put logoff.log            ; same
quit                           ; quit parameter

No comments:

Post a Comment

If you have any suggestion or clarification you send it via on this form.