I have 2 VFP apps. One is a mobile POS system. The other is basically a bank.
Currently at start of day, bank downloads ALL balances to floppy which is imported by each mobile POS app. Sales are made on mobile POS app. At end of day, each POS unit exports to a floppy, it's sales data. Bank app reads floppies and balances are updated with the sales info.
Need to move to real-time. We are setting up a wireless network which the mobile POS units will use to communicate with the bank.
Basically rather than a floppy containing ALL balances, the mobile units will request an individual balance from the bank as needed. The bank will send the individual balance to the mobile unit. The mobile unit will perform a sale, at the end of which, it will send that individual sales data to the bank.
The bank is running on a network workstation. I perceive a workgroup that both the bank and multiple mobile units belong to. I perceive shared folder's on both the bank workstation's HDD, and on each mobile unit's HDD.
My question (finally), of which there are 2:
1. Should I use FTP or just be copying files between the 2 apps? I believe the multiple POS units shared folders, would all be named the same. I am wondering if copying, rather than FTP'ing (to a particular IP Address or something like that), how would the bank address a particular POS units HDD?
2. I have basically defined the following files as being passed between the apps, and would like to know (big picture) if my approach sounds reasonable. With all the new communications software perhaps I am way off base. The files:
POS requests an individual balance
Bank sends confirmation that request was received
Bank sends individual balance and locks account
POS sends confirmation that balance was received
POS sends sales data
Bank sends confirmation that sales data was received
Bank updates account and unlocks account
Thanks for any guidance,
John
Currently at start of day, bank downloads ALL balances to floppy which is imported by each mobile POS app. Sales are made on mobile POS app. At end of day, each POS unit exports to a floppy, it's sales data. Bank app reads floppies and balances are updated with the sales info.
Need to move to real-time. We are setting up a wireless network which the mobile POS units will use to communicate with the bank.
Basically rather than a floppy containing ALL balances, the mobile units will request an individual balance from the bank as needed. The bank will send the individual balance to the mobile unit. The mobile unit will perform a sale, at the end of which, it will send that individual sales data to the bank.
The bank is running on a network workstation. I perceive a workgroup that both the bank and multiple mobile units belong to. I perceive shared folder's on both the bank workstation's HDD, and on each mobile unit's HDD.
My question (finally), of which there are 2:
1. Should I use FTP or just be copying files between the 2 apps? I believe the multiple POS units shared folders, would all be named the same. I am wondering if copying, rather than FTP'ing (to a particular IP Address or something like that), how would the bank address a particular POS units HDD?
2. I have basically defined the following files as being passed between the apps, and would like to know (big picture) if my approach sounds reasonable. With all the new communications software perhaps I am way off base. The files:
POS requests an individual balance
Bank sends confirmation that request was received
Bank sends individual balance and locks account
POS sends confirmation that balance was received
POS sends sales data
Bank sends confirmation that sales data was received
Bank updates account and unlocks account
Thanks for any guidance,
John