<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p41.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T16:41:43</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#42232" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#31971" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#30856" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#27437" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#26279" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#24006" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#16622" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#8463" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#42232">
		<title>coldfusion/6.1/htmldocs/tags-p41.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#42232</link>
		<description>Well, it's probably a bit late to be responding to the guy who posted this, &lt;br /&gt;having found it about seven months too late, but since it would've saved &lt;br /&gt;me a few minutes to have found it here, I thought I'd post the solution.  If &lt;br /&gt;you're using cfftp to handle fairly large files (at least anything that takes &lt;br /&gt;more than 30 seconds to upload) you've probably encountered this &lt;br /&gt;timeout error.  One bad way to get around it is to just tell the close &lt;br /&gt;connection statement to ignore errors.  The good way to do it is with this &lt;br /&gt;tag:&lt;br /&gt;&lt;br /&gt;&lt;cfsetting requestTimeOut = &quot;120&quot;&gt;&lt;br /&gt;&lt;br /&gt;120 being 2 minutes, or 120 seconds.  Of course, you probably want to &lt;br /&gt;make it a little higher in this case.  This temporarily changes the server &lt;br /&gt;timeout, which is suggested to be at 30 seconds, so operations generally &lt;br /&gt;requiring more time will be allowed to have it.  The reason it's supposed &lt;br /&gt;to be at 30 seconds is because the server will get bogged down if every &lt;br /&gt;page is allowed to run on and on forever.  It's supposed to be used only &lt;br /&gt;when you know you'll need more time.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-11-13T00:48:59</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#31971">
		<title>coldfusion/6.1/htmldocs/tags-p41.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#31971</link>
		<description>Hello, this code return an error: &quot; The request has exceeded the allowable time limit Tag: cfftp&quot;. &lt;br /&gt;&lt;br /&gt;How can I to solve the problem?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;	&lt;cffunction name=&quot;subirArchivo&quot;&lt;br /&gt;		returntype=&quot;numeric&quot;&gt;&lt;br /&gt;		&lt;cfargument name=&quot;servidor&quot; required=&quot;yes&quot;&gt;&lt;br /&gt;		&lt;cfargument name=&quot;user&quot; required=&quot;yes&quot;&gt;&lt;br /&gt;		&lt;cfargument name=&quot;pass&quot; required=&quot;yes&quot;&gt;&lt;br /&gt;		&lt;cfargument name=&quot;directorio&quot; required=&quot;yes&quot;&gt;&lt;br /&gt;		&lt;cfargument name=&quot;localFile&quot; required=&quot;yes&quot;&gt;&lt;br /&gt;		&lt;cfargument name=&quot;remoteFile&quot; required=&quot;yes&quot;&gt;&lt;br /&gt;	&lt;br /&gt;			&lt;cfftp action = &quot;open&quot;&lt;br /&gt;				username = &quot;#user#&quot;&lt;br /&gt;				connection = &quot;images&quot;&lt;br /&gt;				password = &quot;#pass#&quot;&lt;br /&gt;				server = &quot;#servidor#&quot;&lt;br /&gt;				passive=&quot;yes&quot;&lt;br /&gt;				stopOnError = &quot;Yes&quot;&lt;br /&gt;				timeout = &quot;1200&quot; &lt;br /&gt;				retrycount=&quot;10&quot;&gt;&lt;br /&gt;	&lt;br /&gt;				&lt;cfloop index=&quot;i&quot; from=&quot;1&quot; to=&quot;#ListLen(directorio, '/')#&quot;&gt;&lt;br /&gt;					&lt;cfset tempDir = #GetToken(directorio, i, '/')#&gt;&lt;br /&gt;					&lt;cfftp action = &quot;existsDir&quot;&lt;br /&gt;							stopOnError = &quot;Yes&quot;&lt;br /&gt;							directory = &quot;#tempDir#&quot;&lt;br /&gt;							passive=&quot;yes&quot;&lt;br /&gt;							connection = &quot;images&quot;&lt;br /&gt;							timeout = &quot;600&quot; &lt;br /&gt;							retrycount=&quot;10&quot;&gt;&lt;br /&gt;						&lt;!-- Si no existe lo creamos --&gt;&lt;br /&gt;					&lt;cfif cfftp.ReturnValue EQ 'No'&gt;&lt;br /&gt;						&lt;cfftp action = &quot;CreateDir&quot;&lt;br /&gt;								stopOnError = &quot;Yes&quot;&lt;br /&gt;								directory = &quot;#tempDir#&quot;&lt;br /&gt;								passive=&quot;yes&quot;&lt;br /&gt;								connection = &quot;images&quot;&lt;br /&gt;								timeout = &quot;500&quot; &lt;br /&gt;								retrycount=&quot;10&quot;&gt;&lt;br /&gt;							&lt;cfftp action = &quot;CHANGEDIR&quot;&lt;br /&gt;								stopOnError = &quot;Yes&quot;&lt;br /&gt;								directory = &quot;#tempDir#&quot;&lt;br /&gt;								passive=&quot;yes&quot;&lt;br /&gt;								connection = &quot;images&quot;&lt;br /&gt;								timeout = &quot;600&quot; &lt;br /&gt;								retrycount=&quot;10&quot;&gt;&lt;br /&gt;					&lt;cfelse&gt;&lt;br /&gt;							&lt;!-- Existe --&gt;&lt;br /&gt;						&lt;cfftp action = &quot;CHANGEDIR&quot;&lt;br /&gt;							stopOnError = &quot;Yes&quot;&lt;br /&gt;							directory = &quot;#tempDir#&quot;&lt;br /&gt;							passive=&quot;yes&quot;&lt;br /&gt;							connection = &quot;images&quot;&lt;br /&gt;							timeout = &quot;600&quot; &lt;br /&gt;							retrycount=&quot;10&quot;&gt;&lt;br /&gt;					&lt;/cfif&gt;&lt;br /&gt;				&lt;/cfloop&gt;&lt;br /&gt;	&lt;br /&gt;			&lt;cfftp action = &quot;putFile&quot;&lt;br /&gt;				stopOnError = &quot;Yes&quot;&lt;br /&gt;				localFile = &quot;#localFile#&quot;&lt;br /&gt;				remoteFile = &quot;#remoteFile#&quot;&lt;br /&gt;				passive=&quot;yes&quot;&lt;br /&gt;				connection = &quot;images&quot;&gt;&lt;br /&gt;	&lt;br /&gt;		&lt;cfftp action = &quot;close&quot;&lt;br /&gt;			connection = &quot;images&quot;&gt;&lt;br /&gt;			&lt;br /&gt;		&lt;cfreturn 1&gt;&lt;br /&gt;	&lt;/cffunction&gt;&lt;br /&gt;&lt;br /&gt;Thanks</description>
		<dc:creator>julyo</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-04-21T04:40:33</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#30856">
		<title>coldfusion/6.1/htmldocs/tags-p41.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#30856</link>
		<description>If you are having CFFTP connection problems because of the proxy server (as i had) try to user the proxyserver in the servervariable:&lt;br /&gt;&lt;br /&gt;&lt;cfftp action = &quot;open&quot; &lt;br /&gt;username = &quot;user@80.119.134.111&quot; &lt;br /&gt;password = &quot;pw0846&quot; &lt;br /&gt;server = &quot;proxyserver.ptx.com&quot;  &lt;br /&gt;name = &quot;test&quot; &gt;</description>
		<dc:creator>TomGru</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-04-04T04:46:48</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#27437">
		<title>coldfusion/6.1/htmldocs/tags-p41.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#27437</link>
		<description>How do I create a new file on server cffile does not have any such attribute to create a file!! Please email me any suggestions to s4shani83@hotmail.com. this is really urgent!!</description>
		<dc:creator>ShaniDagr8</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-02-04T12:04:39</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#26279">
		<title>coldfusion/6.1/htmldocs/tags-p41.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#26279</link>
		<description>The documentation for cfftp should be updated to specify what is required for the action = &quot;remove&quot;</description>
		<dc:creator>Mindframe</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-06T14:31:29</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#24006">
		<title>coldfusion/6.1/htmldocs/tags-p41.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#24006</link>
		<description>In your proposed example, you have name = &quot;uploadFile&quot;, but for a transfer, is name a required attribute?  If not, I would ask that you remove it.</description>
		<dc:creator>Michael</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-16T10:32:48</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#16622">
		<title>coldfusion/6.1/htmldocs/tags-p41.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#16622</link>
		<description>There seems to be an undocumented attribute &quot;port&quot; to specify an alternative port number to connect to.</description>
		<dc:creator>MarkZet</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-06-11T04:14:29</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#8463">
		<title>coldfusion/6.1/htmldocs/tags-p41.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p41.htm#8463</link>
		<description>Suggestion:  Clarify what text needs to be put in for Transfermode Attribute.&lt;br /&gt;&lt;br /&gt;ASCII:   ASCII FTP transfer mode &lt;br /&gt;Binary:  Binary FTP transfer mode &lt;br /&gt;Auto:     Auto FTP transfer mode &lt;br /&gt;&lt;br /&gt;We are working to improve the examples in the ColdFusion reference pages. We propose to replace the current example on this page with the the following example. If you have any comments on this example, add them to this page.&lt;br /&gt;&lt;br /&gt;Addition for current sample to be inserted between the FTP Listing Directory section and the Closing Connection Section:&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Move Image File to Remote Server:&lt;br&gt;&lt;/p&gt;&lt;br /&gt;&lt;!--- The image will be put into the root directory of the FTP server unless &lt;br /&gt;	other wise noted &lt;br /&gt;	i.e. remoteFile = &quot;somewhere_put.jpg&quot;  vs remoteFile = &quot;/support/somewhere_put.jpg&quot;&lt;br /&gt;---&gt; &lt;br /&gt;&lt;cfftp    &lt;br /&gt;	connection = &quot;myConnection&quot;&lt;br /&gt;	action = &quot;putFile&quot;   &lt;br /&gt;	name = &quot;uploadFile&quot;   &lt;br /&gt;	transferMode = &quot;binary&quot;   &lt;br /&gt;	localFile = &quot;C:\files\upload\somewhere.jpg&quot;   &lt;br /&gt;	remoteFile = &quot;somewhere_put.jpg&quot;      &lt;br /&gt;	&gt;&lt;br /&gt;&lt;p&gt;Did it succeed? &lt;cfoutput&gt;#cfftp.succeeded#&lt;/cfoutput&gt;</description>
		<dc:creator>lbryngel</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-02-19T08:36:48</dc:date>
	</item>
	</rdf:RDF>

