Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Using WinSCP to FTP DSLstats data to a remote webserver  (Read 162 times)

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31233
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Using WinSCP to FTP DSLstats data to a remote webserver
« on: June 08, 2018, 10:18:42 PM »

Until I have time to write a more in-depth help instructions this is a work in progress
-------------

To enable up to date & history stats on a remote webserver (your website) then unless you want to constantly manually update files, you will need an ftp client which can automatically upload DSLstats data to your webhosts.

This will apply if you are using my Custom web interface for DSLstats or Stuarts Custom Interface.

For windows users I recommend WinSCP which is free for use and allows custom automated scripts.


Blah blah blah
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31233
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using WinSCP to FTP DSLstats data to a remote webserver
« Reply #1 on: June 08, 2018, 10:19:16 PM »

============
SET UP WINSCP
============

Install WinSCP.
From the Login Screen >
Create a new Session which will store the login details to your remote website.

See image capture below for example
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31233
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using WinSCP to FTP DSLstats data to a remote webserver
« Reply #2 on: June 08, 2018, 10:21:17 PM »

=======================================
SETTING AUTOMATED TASK VIA TASK MANAGER
=======================================

From Computer Management > System Tools > Task Scheduler


>> Create Task
>  Begin Task on a schedule
      DSLstats_current
      DSLstats_history


>> Task Trigger
      One time.  Repeat every 00:01:00.  Duration Indefinitely.
      One time.  Repeat every 2 hours.  Duration Indefinitely.


>> Action (Command)
>  Start a program
      "C:\Program Files (x86)\WinSCP\WinSCP.exe"

>  Add argument
      This will depend upon the location of DSLstats on your PC and where you are running the scripts from.   
      As a guide my arguments are shown below.

Code: [Select]
/script=d:\Connection\dslstats\WinSCP_scripts\DSLstats_current.txt /log=d:\Connection\dslstats\WinSCP_scripts\log_current.txt
Code: [Select]
/script=d:\Connection\dslstats\WinSCP_scripts\DSLstats_history.txt /log=d:\Connection\dslstats\WinSCP_scripts\log_history.txt

Note re the arguments.

I've included the code for logging.   
This may be useful whilst setting up the script, but once you have it working correctly I recommend you delete logging as the file can soon grow quite large for the current stats.   So just use /script=d:\Connection\dslstats\WinSCP_scripts\DSLstats_current.txt
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31233
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using WinSCP to FTP DSLstats data to a remote webserver
« Reply #3 on: June 08, 2018, 10:22:48 PM »

Placeholder for  DSLstats_current script


PS aware that DSLstats can now do this, but I will add the scripts later in case anyone is interested.
« Last Edit: June 09, 2018, 10:03:26 AM by kitz »
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31233
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using WinSCP to FTP DSLstats data to a remote webserver
« Reply #4 on: June 08, 2018, 10:23:19 PM »

Placeholder for DSLstats_history script
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31233
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using WinSCP to FTP DSLstats data to a remote webserver
« Reply #5 on: June 08, 2018, 10:23:35 PM »

Placeholder
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker
 

anything