Hi Guys,
I'm not sure whether or not this is the right forum for this question, but anyway. I need to automate an ftp session when a user logs on to a web page.
I created a ".bat" file which actions the ftp automatically. The only problem I have now is trying to invoke the actions of this ".bat" file from a web page.
I tried to include the file like this:
<!--#include file="scripts/FTP.bat" -->
inside the FTP.bat file:
ftp -i -s:Fetch.txt
the "Fetch.txt" file specifies the IP address, username and password for the FTP session and holds the get command.
When I execute the FTP.bat file from the Windows explorer, the FTP is successfull, but, when I try and execute it from the web page, nothing happens.
Is it even possible to call a ".bat" file from a web page? If so, what is the trick? If not, is there another way I can do this??
thanks alot
Mike.
I'm not sure whether or not this is the right forum for this question, but anyway. I need to automate an ftp session when a user logs on to a web page.
I created a ".bat" file which actions the ftp automatically. The only problem I have now is trying to invoke the actions of this ".bat" file from a web page.
I tried to include the file like this:
<!--#include file="scripts/FTP.bat" -->
inside the FTP.bat file:
ftp -i -s:Fetch.txt
the "Fetch.txt" file specifies the IP address, username and password for the FTP session and holds the get command.
When I execute the FTP.bat file from the Windows explorer, the FTP is successfull, but, when I try and execute it from the web page, nothing happens.
Is it even possible to call a ".bat" file from a web page? If so, what is the trick? If not, is there another way I can do this??
thanks alot
Mike.