acoder 16,027
Recognized Expert Moderator MVP 7 8229 acoder 16,027
Recognized Expert Moderator MVP
Please specify which tutorial you are commenting on.
To be continued...wha t 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. - <HTML>
-
<HEAD>
-
<TITLE>Load File</TITLE>
-
</HEAD>
-
<BODY>
-
-
<cfif isdefined("Form.Submit")
-
and trim(form.FileName) neq "">
-
<cftry>
-
<cffile action="upload"
-
filefield="form.FileName"
-
destination="C:\Upload\"
-
nameconflict="makeunique"
-
accept="application/octet-stream, application/vnd.ms-excel, image/*">
-
<cffile
-
action = "readbinary"
-
file = "C:\temp\#cffile.serverFile#"
-
variable = "blob">
-
-
<!--cfquery name="testing" datasource="TEST">
-
insert into ADD (load_file)
-
values (
-
<cfqueryparam
-
value="#blob#"
-
cfsqltype="cf_sql_blob">
-
)
-
</cfquery-->
-
-
</cftry>
-
</cfif>
-
-
</BODY>
-
</HTML>
-
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,
acoder 16,027
Recognized Expert Moderator MVP
To be continued...wha t 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).
Very good demonstrations (tutorials), you should put more of these types of things here
acoder 16,027
Recognized Expert Moderator MVP
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.
acoder 16,027
Recognized Expert Moderator MVP
I've added a quick tutorial on sending email using Coldfusion. I plan to add to this to deal with more advanced uses.
acoder 16,027
Recognized Expert Moderator MVP
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 :)
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Emile van Sebille |
last post by:
QOTW (in the OS agnostic category): "There is a (very popular) Python
package out there which exposes the win32 api. I'm not sure what it's
called. (win32api? pythonwin? win32all?)" -- Francis Avila
QOTW (in the popular vote category): "So far, python has been the easiest
language to learn I've ever come across. I tried learning perl, and it
was a disaster.... Too convoluted. Python is a breath of fresh air.
Also, the docs and...
|
by: Mason A. Clark |
last post by:
For perhaps 80% of the web pages I view, I find it helpful if
not necessary to use a trick to reveal the links.
I use Opera and a button to shift it my own style sheet
which does nothing but blatantly color the links.
Sweeping the page with the mouse is a clumsy alternative.
PLEA: do not *conceal* your links. Make them somehow
obvious. Is this too much to ask?
|
by: Stargazer |
last post by:
I'm currently redesigning my site and just came across this awsome
flying link script only problem is there is no spacing in the back and
there are banner adds in the back of it. How can I change this??
Here is the link and you'll see what I mean
http://www.angelfire.com/mn3/aboveandbelow/flyinglinks.html
|
by: Fredrik Lundh |
last post by:
the "what now?" page in the tutorial
http://www.python.org/doc/tut/node14.html
lists a couple of relevant web sites for Python users, including:
http://www.python.org
http://starship.python.net
http://www.python.org/pypi
|
by: MMcCarthy |
last post by:
This is a list of technical site links that many of our experts find useful. They are often included in posts in answer to repeated questions so I am posting a list of them here for convenience.
These sites are not advertisements and if any site here causes users any problems please let me know. They are only meant to include links that contain answers to frequently asked questions.
Of course if there is anything on any of these sites...
| |
by: Paul Boddie |
last post by:
QOTW: "I still want to keep compile time type checking to make sure I
don't make any mistakes."
"Sounds like you want two wives, but I'm pretty sure polygamy gets a
checkbox in the naughty category on Santa's list" -- George Jempty
(commenting on "Dear Open Source Santa," by Paul Browne)
http://www.oreillynet.com/onjava/blog/2006/12/dear_open_source_santa.html#comment-384244
"But if you care to give it a closer look, you may understand...
|
by: ppuniversal |
last post by:
Can someone provide me links to some Windows API Thread tutorials.
Or links to some books for the same.
Pawan
|
by: iam_clint |
last post by:
This is a list of offsite links with good information on them (if you have any links to add please pm me)
Remember when looking for examples use examples from 2 or more sites if you are not sure the code is cross browser compatible.
General Javascript
http://www.w3schools.com/ - Javascript examples (not as cross-browser friendly as others)
http://hscripts.com/tutorials/javascript/index.php submitted by kvijayhari...
|
by: iam_clint |
last post by:
Starting a thread for flash tutorials and such.. got a good link? pm me.
http://www.kirupa.com
http://www.actionscript.org/resourc...ries/Tutorials/
http://www.gotoandlearn.com
http://www.flashkit.com
http://www.senocular.com
http://www.echoecho.com/flash.htm
http://www.tutorialized.com/tutorials/Flash/1
http://www.video-animation.com/flash8_001.shtml
|
by: eragon |
last post by:
i have a script that will write to a text file from a form... using php scripts.. now i need a script to call from this file line by line, or any similar way of posting it, and insert it into my php home page. i have the script set up and working, it posts a headline on say line 1, a news article on line 2, and line 3 is blank. then when i submit again it posts a headline on line 4, a news article on line 5, and line 6 is blank.
the txt file...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |