Current location: Hot Scripts Forums » General Community » Script Requests » FTP Auto Downloader


FTP Auto Downloader

Reply
  #1 (permalink)  
Old 03-07-06, 01:49 PM
ReefBum ReefBum is offline
New Member
 
Join Date: Mar 2006
Location: Florida
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question FTP Auto Downloader

I have a multi stage need, I know a little about programming but not much.


Part - 1

I sell satellite bandwidth, the usage data is sent to an ftp server by the NOC every 60 min. Each VSAT site has its own folder on the ftp server and the folder for each site is updated every 60 min. I need a way that this information can be automatically retreived from this ftp server and placed in a location on my own website using the same folder names.

i.e. I have a folder on my website named site_data this folder would have all the other folders for each VSAT system and these individual folders would be updated with any new data each hour from the NOC ftp server.

Any idea on where I should look to find a script for this?


This would not be neded if there was a script that could query the ftp server so that part 2 of my need could be handled directly from the ftp server. (This would save me tons of storage space on my own server)



Part - 2

I will need a web page with a script where the end user could put in his/her VSAT ID and this would pull up all the data from that site's folder. It would giva a list of each day as a link. If they click on one of these days it will then pull this information up into a graph showing the usage levels per hour for the day selected.


The NOC stores traffic logs on an ftp server with a folder for each site
that contains a text file for each day. This text file contains a line
for every hour of the day that the VSAT is connected for. An example is
shown below and the file is called USAZ0186/USAZ0186_20060207

USAZ0186 200602070000 200602070100 060 0015085220 0001320634
USAZ0186 200602070100 200602070200 060 0001714241 0000549140
USAZ0186 200602070200 200602070300 060 0000006608 0000006762
USAZ0186 200602070300 200602070400 060 0000006647 0000006652
USAZ0186 200602070400 200602070500 060 0000006974 0000006853
USAZ0186 200602070500 200602070600 060 0000006545 0000006518
USAZ0186 200602070600 200602070700 060 0000007265 0000007171
USAZ0186 200602070700 200602070800 060 0000006577 0000006775
USAZ0186 200602070800 200602070900 060 0000006433 0000006531
USAZ0186 200602070900 200602071000 060 0000051056 0000029182

The columns are as follows: SiteID, start time, end time, number of
minutes connected, bytes downloaded, bytes uploaded.

Please note that the dates on this system are one month behind, ie
January is month 00 and December is month 11.





Any help and any points in the right direction would be a great help to this guy that is still trying to learn this stuff.

ReefBum
reefbum@msn.com

Last edited by ReefBum; 03-07-06 at 02:06 PM.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP Script jowilker Script Requests 8 08-02-05 03:43 PM
FTP to FTP to MYSQL database daily transfer and updates.. 0o0o0 PHP 2 07-11-05 07:44 PM
The woes of an ftp newb. Joou The Lounge 3 05-30-05 10:03 PM
UPDATE: MySQL Auto Backup & Export v1.1 Beyonder General Advertisements 2 03-21-05 02:05 PM
Form auto filler NixMaster PHP 10 03-03-05 03:27 AM


All times are GMT -5. The time now is 11:56 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.