The code below works fine in ASP:
<% Set SA_FileUp = Server.CreateObject("SoftArtisans.FileUp") %>
<% SA_FileUp.SaveAs "C:\inetpub\wwwroot\newfiles\pooh.jpg" %>
Using CFOBJECT, I can find on syntax that will invoke the method, "SaveAs". Why
shouldn't this work:
<CFOBJECT TYPE="COM" NAME="SA_FileUp" CLASS="SoftArtisans.FileUp" ACTION="CREATE">
<CFSCRIPT>
SA_FileUp.SaveAs(C:\inetpub\wwwroot\newfiles\pooh.jpg");
</CFSCRIPT>
Any advice will be greatly appreciated.
TIA
Sim Graves
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm