从fileupload中取得路径
发布时间:2010-06-14 17:24:49 文章来源:www.iduyao.cn 采编人员:星星草
从fileupload中获得路径
如何从fileupload中获得路径?
------解决方案--------------------
Note: The file prefix is deprecated, in favor of the cffile prefix. Do not use the file prefix in new applications.
The following file upload status parameters are available after an upload. Parameter Description
attemptedServerFile
Initial name ColdFusion used when attempting to save a file
clientDirectory
Directory location of the file uploaded from the client's system
clientFile
Name of the file uploaded from the client's system
clientFileExt
Extension of the uploaded file on the client system (without a period)
clientFileName
Name of the uploaded file on the client system (without an extension)
contentSubType
MIME content subtype of the saved file
contentType
MIME content type of the saved file
dateLastAccessed
Date and time the uploaded file was last accessed
fileExisted
Whether the file already existed with the same path (Yes or No)
fileSize
Size of the uploaded file
fileWasAppended
Whether ColdFusion appended uploaded file to a file (Yes or No)
fileWasOverwritten
Whether ColdFusion overwrote a file (Yes or No)
fileWasRenamed
Whether uploaded file renamed to avoid a name conflict (Yes or No)
fileWasSaved
Whether Cold Fusion saves a file (Yes or No)
oldFileSize
Size of a file that was overwritten in the file upload operation
serverDirectory
Directory of the file saved on the server
serverFile
Filename of the file saved on the server
serverFileExt
Extension of the uploaded file on the server (without a period)
serverFileName
Name of the uploaded file on the server (without an extension)
timeCreated
Time the uploaded file was created
timeLastModified
Date and time of the last modification to the uploaded file
------解决方案--------------------
cffile有很多属性。你可以利用。
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
3D MAX导出MD2,delphi开发
我用dilphi开发3D游戏,想用3D MAX导出MD2建立关键针动画,然后用dilphi调用关键针,可是现在出现2个问...
-
coldfusion怎么整合框架?
如题coldfusion怎么整合框架? 有没有例子 谁给讲解下,谢谢!
------解决方案--------------------
其实,在...
-
coldfusion的正则表达式中文支持怎么样?
coldfusion的正则表达式中文支持怎么样?有没有问题?我用的的是coldfusion 9
因为要用的一...
-
求教
请问,哪里有GLscene的中文教程,视频也可.谢谢
------解决方案--------------------
http://technology.jfcms.net/cx/Delp...
-
Provider '80020005'
Provider '80020005'
类型不匹配。
\admin\add_products.asp, line 167
<!--#include file="../i...
-
我们打开一个网页的原理是什么?
我觉得是服务器端传输一个文档过来,然后由ie(或者其它的)编译,呈现我们面前的就是我们打开的网页了
-...
-
我想循环输出一个 cfgrid
rt
------解决方案--------------------
cfgrid有个query属性的。
------解决方案-----------------...
-
coldfusion
cf中上传可以控制大小吗?如何控制?
------解决方案--------------------
上传前可以先得到文件大小,之后再决定是否要上...
-
C# 发送一个网页邮件 怎么做
我用System.Net.Mail;做的,可是它的属性就那么几个。怎么办?
------解决方案--------------------
M...
-
coldfusion 9 连接Access出错???
各位大侠帮忙看看,为何我用coldfusion 9 连接Access时,显示OK,连接Access unicode时却出现以下错误信...