Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calling exe file from asp

Status
Not open for further replies.

parames

MIS
Jun 26, 2000
71
MY
hi all..
i need to do something like this.. need help from you all..

i need to do a ftp program in asp.. when the user click the button, the
program must call an exe file (dos or etc) and do the ftp from another unix
server..my web program is in windows 98...

thanks a lot..

rgds,
parames.s
 
This is possible using WSH (Windows Scripting Host) and its ability to run an external program. Go to to find out how. If you still need help, just ask. You will need to install WSH 5.5 (may be up to 5.6 by now) before it will work.

Later,
Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
 
if you are able to run perlscript... i would suggest that.

<%@Language=PerlScript%>
<%
use Net::FTP;

$ftp = Net::FTP->new(&quot;ftp.server.com&quot;);
$ftp->login('anonymous');
$ftp->cwd('unf/thisthing');
$ftp->get('file.tar.gz');
$ftp->close;

%>

you can get info on Net::FTP module at cpan.org.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top