Hi What would be the best way to load a database from a remote computer.
My options are FTP and HTTP and possibly SFTP with WinSCP or something similar.
I have a web front end which i have created using ASP.
The webfront end is on site B
It connects to a database on the server side then runs a few SQL queries and shows
sales information in different ways.
Sales by customer by category, Sales by Transaction history ect ect
The database fields have this.
[Unique Company code],[Customer Code],[Customer Desc],[QTY_Sold],[Sales_AMT],[INV_NUM],[ORDEr_NUM],[TRAN_Date] and a few others.
The above part works perfectly.
Site A
I then have a stored proc which extract data from a ERP system which has the above fields in excel can make it CSV aswell.
it basically only extracts the information needed for the above sql reports to run on the webfront end on Site A
The problem is i want this to be automated.
What would be the best way to get the data from Site A to Site B.
I can upload the data file from a to b via FTP or SFTP but how would i notifiy SiteB that the data upload is done and it must import the file ?
Site b is a normal hosting provider and does not belong to me and does not have a "CRON" type scheduler.
Also even if i add a scheduler service i dont want siteB to upload files whils they are being in use by the upload process from Site A.
Dont need code just the idea
My options are FTP and HTTP and possibly SFTP with WinSCP or something similar.
I have a web front end which i have created using ASP.
The webfront end is on site B
It connects to a database on the server side then runs a few SQL queries and shows
sales information in different ways.
Sales by customer by category, Sales by Transaction history ect ect
The database fields have this.
[Unique Company code],[Customer Code],[Customer Desc],[QTY_Sold],[Sales_AMT],[INV_NUM],[ORDEr_NUM],[TRAN_Date] and a few others.
The above part works perfectly.
Site A
I then have a stored proc which extract data from a ERP system which has the above fields in excel can make it CSV aswell.
it basically only extracts the information needed for the above sql reports to run on the webfront end on Site A
The problem is i want this to be automated.
What would be the best way to get the data from Site A to Site B.
I can upload the data file from a to b via FTP or SFTP but how would i notifiy SiteB that the data upload is done and it must import the file ?
Site b is a normal hosting provider and does not belong to me and does not have a "CRON" type scheduler.
Also even if i add a scheduler service i dont want siteB to upload files whils they are being in use by the upload process from Site A.
Dont need code just the idea