Thanks Jesse,

That was the answer.  It works great.

Dave




----- Original Message -----
From: "Jesse Noller" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, October 01, 2001 2:29 PM
Subject: RE: CFEXECUTE


> C:\WINNT\system32\ftp.exe www.site.com
>
> is what you want. Calling the CMD interface block actual options from
being
> passed.
>
> So, yer code should be:
>
> <CFEXECUTE
>  NAME="C:\WINNT\system32\ftp.exe"
>  ARGUMENTS="-s:c:\path\to\file\ftpcommands.txt">
> </CFEXECUTE>
>
> Or better yet:
>
> <CFSET SOME="-s">
>
> <CFSET arguments="#SOME# #OPTIONS# #HERE#"
>
> <CFEXECUTE
> NAME="C:\WINNT\system32\ftp.exe"
> ARGUMENTS=#arguments#
> OUTPUTFILE="/tmp/cf"
> TIMEOUT="30">
> </CFEXECUTE>
>
> ========================
> Jesse Noller
> Linux Fiend
> Macromedia Server Development
> [EMAIL PROTECTED]
>
> "Happiness in intelligent people is the rarest thing I know."
> -Ernest Hemingway
> "Ian: God help us; we're in the hands of engineers."
> -Jurassic Park
>
>
> -----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]
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to