Information générale
Catégorie:
Applications Internet
>>Hi UTer’s.
>>
>>I have a group of customers that attach files of a proprietary format to emails that they send me. The files have a .kok extension and can only be read by an executable that the manufacturer provides. The output of the executable is three jpg files. I open the .kok files with the executable, produce the jpgs and then post them to a web site. I wanted to automate the process so I did the following: I made a web page that gives the customers the ability to upload the .kok to my server. I thought I could activate the executable from the ASP or from a .com object that was on the ASP but that does not work. I would not mind the minor hit running the executable will take because the web site and server experience very minor traffic and is set up just for a few a these customers.
>>
>>I guess my question is: How do I get an ASP to activate a short running executable that will run on the server so that the .kok can be read and the 3 jpgs can be produced?
>>Thanx,
>>Neil
>
>Neil;
>
>I suggest you have an executable polling the receiving directory for new files. You can launch it every xx minutes with the Windows Scheduler, or you can have it running continuously.
>
>The only trick is that you have to make sure the files are finished uploading before you process them.
Hi Michael,
Now this sounds interesting. Is there any way to have an executable file fire as a result of an event being raised instead of a time interval elapsing? Maybe I could simulate an event upon receiving the .kok file from my customer.
Neil
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement