Trying the cfexecute this way didn't work, either: <cfexecute name="c:\windows\systems32\cmd.exe" arguments="/c e:\adobe_site\getfiles.bat" timeout="30"> </cfexecute>
??? Thanks, Rick > -----Original Message----- > From: Rick Faircloth [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2008 11:55 PM > To: CF-Talk > Subject: Trying to use cfexecute to run batch file... > > I'm trying to use cfexecute to run this bath file content: > > ftp -s:getfiles.txt > > The batch file reads its commands from "getfiles.txt", which > has the following code: > > open datalink.interealty.com > [username] > [password] > cd /DataLinkOutput/SAV/SAV_1000019201 > prompt > mget *.* > bye > > I can run the batch file manually and all is well. > > However, I can't get any results except a timeout when I use > <cfexecute> to run the batch file. > > I've googled and tried everything I can think of, but obviously > something's not right. > > Here's the <cfexecute> code: > > <cfexecute name="e:\adobe_site\getfiles.bat" > timeout="60"> > > But that's not working. > > Suggestions? > > Thanks, > > Rick > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312111 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4