Yeah .. drop the cmd.exe part. The NAME would be ftp and the ARGUMENT would be -s:c:\path\to\file\ftpcommands.txt
Todd ----- Original Message ----- From: "Adkins, Randy" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, October 01, 2001 2:24 PM Subject: RE: CFEXECUTE > If I am not mistaken what is being send would be the > following command as a whole: > > "C:\WINNT\system32\cmd.exe ftp -s:c:\path\to\file\ftpcommands.txt" > > > > -----Original Message----- > From: Dave Hannum [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 01, 2001 2:17 PM > To: CF-Talk > Subject: CFEXECUTE > > > I'm trying to fire off an FTP process with CFEXECUTE. I need to call FTP > and then a -s command with a command file. So far I've got: > > <CFEXECUTE > NAME="C:\WINNT\system32\cmd.exe" > ARGUMENTS="ftp -s:c:\path\to\file\ftpcommands.txt"> > </CFEXECUTE> > > This does not work. If I call it just like this from the command line, it > works fine. Any suggestions? > > Thanks, > Dave > > =============================== > David R Hannum > Ohio University > Web Analyst/Programmer > (740) 597-2524 > [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists