Archive: how to read data off end of setup file?


how to read data off end of setup file?
I have a setup that runs and then pulls down additional files off a website. We have over 130 production sites. Each site has it's own website. I plan to deploy the same setup to each site. I plan to make a PHP script which will append server and other information to the end of the setup when the user downloads it. However I don't know how to read this information off the end of the setup file. Any body have code samples or can point me in the right direction.

Thanks,

Delmar


Ok I've got it working by putting tail.exe, and running that to read the info off the end of the file. If anybody know's how to do it without needing to include extra files let me know.

Thanks.


Use FileOpen, FileRead, FileSeek and FileClose.


I tried those commands, but those commands seemed to detect EOF before it got to the appended data.