Storing and accessing an external list of files that need to be transfered.
Posted on 2004-09-14
I have created an app that uses mscomm to dial an isp, then it starts a secure ftp client, and transfers a zip file that is created nightly. I have finished testing my app but i see problems arising in the future. My app will be used in 30 different locations spread pretty far apart.
So just stopping by each store to update something is not an option.
I am running pcanywhere in all my stores but i want this to be as automated as possible without using pcanywhere.(its for remote support only)
Thinkin of using a file that i can place in the home directory of each store (on my ftp server) when an update is neccesary. Have the program (running in each location) check if updated file exists(on ftp server), and if so download it and use the updated list for uploading to my server.
The part i need assistance with is, how to access and store the list of files needed to be transfered, and what type of file will accomplish this. The number of files to transfer could be different day to day.
Code examples are appreciated!
using vb6 in win95 through win2000 enviroments.
using the transfer engine from cuteftp pro 6.0
If there is a better or more efficient way to accomplish this let me know.