Hi!
I have a script which downloads files from an ftp-server.
When I start the downloader.php manual from the browser, like here "localhost/app/downloader.php" then
it starts and downloads the files.
But my problem is that I need to schedule this task. So I use the scheduler which is build in Windows
2000 Adv. Server and the path I use there looks like this:
"E:\php\php.exe E:\Inetpub\wwwroot\MediaMonitor\mmonitor\download\index.php"
Now, when the scheduler starts the task, downloader.php connects to the ftp-server, downloads 2, sometimes
3 files, and then stops, it looks like it would time-out or something.
But how I said, when I start the download from my browser, it downloads more, it downloads 20-30 files
without problems. But not so with the win-scheduler...
Maybe there is a difference between ISAPI-PHP and php.exe?
Because I use php ISAPI-mode with my IIS 5.0 and the path for the scheduler takes the .exe-file, php.exe.
I really don't know what could be the problem. I tried veery often, really, and I always have the same
problem, so it's not possible that I have a problem with the internet-connection.
And I also increased timeout for php-files in php.ini - I took 600 seconds, to I think that should be
enough :-)
Can someone help?
Dave