468,555 Members | 2,117 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Share your developer knowledge by writing an article on Bytes.

Links to popular tutorials

7 7310
acoder
16,027 Expert Mod 8TB
Please specify which tutorial you are commenting on.
Jan 23 '07 #2
cindy7
5
To be continued...what that mean?
Can some one help on second part of this?
The "UploadFile.cmf", I did try to upload the file and save in oracle database but fail, I am having hard time on this issue, can not find any where explanning on this matter.
Here is the code, please help, very appreciated.

Expand|Select|Wrap|Line Numbers
  1. <HTML>
  2.  <HEAD>
  3.   <TITLE>Load File</TITLE>
  4.  </HEAD>
  5.  <BODY>
  6.  
  7. <cfif isdefined("Form.Submit") 
  8.     and trim(form.FileName) neq "">
  9.     <cftry>
  10. <cffile action="upload"
  11.             filefield="form.FileName"
  12.             destination="C:\Upload\"
  13.             nameconflict="makeunique" 
  14.             accept="application/octet-stream, application/vnd.ms-excel, image/*">
  15. <cffile 
  16.                 action = "readbinary" 
  17.                 file = "C:\temp\#cffile.serverFile#" 
  18.                 variable = "blob">
  19.  
  20. <!--cfquery name="testing" datasource="TEST">
  21.                 insert into ADD (load_file)
  22.                 values (
  23.                     <cfqueryparam 
  24.                         value="#blob#" 
  25.                         cfsqltype="cf_sql_blob">
  26.                 )
  27.             </cfquery-->
  28.  
  29. </cftry>
  30. </cfif>
  31.  
  32. </BODY>
  33. </HTML>
  34.  
The problem is when I upload the file, it doesn't do any thing, and I also using SQL Plus to check and see any file insert, but nothing.
Thanks in advance,
Sep 13 '07 #3
acoder
16,027 Expert Mod 8TB
To be continued...what that mean?
I'll remove that. It just means that the tutorial is not quite complete, but I haven't made changes to it for months.
Can some one help on second part of this?
I've copied your query to another thread. I want to keep this comments thread on topic (just on the tutorial itself rather than a particular problem).
Sep 14 '07 #4
Very good demonstrations (tutorials), you should put more of these types of things here
Oct 3 '07 #5
acoder
16,027 Expert Mod 8TB
Very good demonstrations (tutorials), you should put more of these types of things here
Glad you liked them (I only wrote the last one).

If I get time, I may put some more up soon.

Do you know any Coldfusion? If you do, perhaps you could share some tips.
Oct 3 '07 #6
acoder
16,027 Expert Mod 8TB
I've added a quick tutorial on sending email using Coldfusion. I plan to add to this to deal with more advanced uses.
Oct 22 '07 #7
acoder
16,027 Expert Mod 8TB
Added "Coldfusion Tips and Tricks" - a collection of short tips when programming with Coldfusion by CF FAN. These may be added to in the future, so subscribe and keep reading :)
May 5 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Emile van Sebille | last post: by
3 posts views Thread by Mason A. Clark | last post: by
11 posts views Thread by Stargazer | last post: by
3 posts views Thread by Fredrik Lundh | last post: by
reply views Thread by Paul Boddie | last post: by
iam_clint
reply views Thread by iam_clint | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.