> I've changed my code to the text below.
> 
> <cfexecute name="c:\WINNT\system32\junction.exe" 
> arguments="d:\inetpub\wwwroot\file_downloads 
> d:\inetpub\wwwroot\programs\download\" timeOut="600" 
> outputFile = "d:\temp\output.txt"></cfexecute>
> 
> <cfset lcDownload = "<a 
> href='#request.App.domainpath#/file_downloads/#lcExeRelease#/#
lcExecutable#.exe'>
> 
> d:\inetpub\wwwroot\programs\download\ is where the files 
> really reside.
> 
> What happens now is the progress bar in the status bar starts 
> climbing, I never get a pop up asking if I want to save the 
> file and ultimately it times out.

You might try breaking this down into smaller pieces, to get each piece
working. First, write a page that creates the junction. Then, see if the
junction was created successfully. Then, see if you can link to the file
within the junction.

Also, you may have a permissions problem - the IIS user account
(IUSR_MACHINENAME if anonymous logins are enabled, the Windows account of
the user if they're not) will need permission to
d:\file_downloads\fileinquestion. CF will need permission to create the
junction also, but presumably it's running as SYSTEM so that shouldn't be a
problem.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239338
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to