Age | Commit message (Expand) | Author | Files | Lines |
---|---|---|---|---|
2007-08-25 | update scan files for fi-* | Christoph Pfister | 1 | -4/+2 |
#!/bin/sh
# ftpupload
#
# Copyright (C) 2012 Jonathan McCrohan
USERNAME=`/usr/bin/ftphelper --username`
PASSWORD=`/usr/bin/ftphelper --password`
SERVER=`/usr/bin/ftphelper --server`
REMOTEDIRECTORY=`/usr/bin/ftphelper --directory`
# local file to be uploaded
FILE="/var/modbuslog/"`/usr/bin/ftphelper --mac`"_"`date +%Y_%m_%d --date='1 days ago'`"_00_00_00.log"
# login to remote server and upload
ftp -n -i $SERVER <
aboutsummaryrefslogtreecommitdiffstats |
Age | Commit message (Expand) | Author | Files | Lines |
---|---|---|---|---|
2007-08-25 | update scan files for fi-* | Christoph Pfister | 1 | -4/+2 |