--=====================_791644406==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi

I am trying to run a script for users to be able to ftp txt files to a FTP 
server.  The script will work fine with .rtf, .log and .doc files, but will 
not properly upload .txt files.

On my development server, when a .txt file is FTP'd. it will place a file 
on the FTP server, but it will be an empty file.  The same file with a 
extension of .log will upload perfectly.

When using the Production server, it wont upload anything at all.  It tries 
to upload the file using the contents of the text file as the name, and 
throws an error.

On the form, I am using the enctype multipart/form-data.

I am guessing this might be an IIS configuration problem, but I am 
unsure...I am running CF 4.5.1 (Dev) amd 4.0.1 (Prod) on IIS.  Code 
snippets below.

CODE
<cfftp action="OPEN" server="blahblah"  username="me" password="pass" 
connection="ftpit">
<cfftp connection="ftpit" action="PUTFILE"  stoponerror="Yes" 
localfile="#filename#" remotefile="newfilename" 
transfermode="AUTO"               asciiextensionlist="txt;log;doc;rtf">
<cfftp action="CLOSE" stoponerror="Yes" connection="ftpit">

ERROR MSG (Production Server)
Error Diagnostic Information
An error occurred while processing CFFTP tag (Cold Fusion error code 1, FTP 
error code 206): Cannot put local file test me test me test me test me test 
me test me test me test me test me test me test me test me test metest 
metest me test me test me test me test me test me test me test me test me 
test me test me test me test me test metest metest me test me test me test 
me test me test me test me test me test me test me test me test me test me 
test metest metest me test me test me test me test me test me test me test 
me test me test me test me test me test me test metest metest me test me 
test me test me test me test me test me test me test me test me test me 
test me test me test metest metest me test me test me test me test me test 
me test me test me test me test me test me test me test me test metest 
metest me test me test me test me test me test me test me test me test me 
test me test me test me test me test metest metest me test me test me test 
me test me test me test me test me test me test me test me test me test me 
test metest metest me test me test me test me test me test me test me test 
me test me test me test me test me test me test metest metest me to remote 
file NoCR_12-Jul-00_141755__F3.log: The filename or extension is too long

NOTE:  All of the test me stuff is the contents of the file

--=====================_791644406==_.ALT
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
Hi<br>
<br>
I am trying to run a script for users to be able to ftp txt files to a
FTP server.&nbsp; The script will work fine with .rtf, .log and .doc
files, but will not properly upload .txt files.<br>
<br>
On my development server, when a .txt file is FTP'd. it will place a file
on the FTP server, but it will be an empty file.&nbsp; The same file with
a extension of .log will upload perfectly.<br>
<br>
When using the Production server, it wont upload anything at all.&nbsp;
It tries to upload the file using the contents of the text file as the
name, and throws an error.<br>
<br>
On the form, I am using the enctype multipart/form-data.<br>
<br>
I am guessing this might be an IIS configuration problem, but I am
unsure...I am running CF 4.5.1 (Dev) amd 4.0.1 (Prod) on IIS.&nbsp; Code
snippets below.<br>
<br>
CODE
<dl>
<dd>&lt;cfftp action=3D&quot;OPEN&quot; server=3D&quot;blahblah&quot;&nbsp;
username=3D&quot;me&quot; password=3D&quot;pass&quot;
connection=3D&quot;ftpit&quot;&gt;
<dd>&lt;cfftp connection=3D&quot;ftpit&quot;
action=3D&quot;PUTFILE&quot;&nbsp; stoponerror=3D&quot;Yes&quot;
localfile=3D&quot;#filename#&quot; remotefile=3D&quot;newfilename&quot;
transfermode=3D&quot;AUTO&quot;
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>asciiextensionlist=3D&quot;txt;log;doc=
;rtf&quot;&gt;
<dd>&lt;cfftp action=3D&quot;CLOSE&quot; stoponerror=3D&quot;Yes&quot;
connection=3D&quot;ftpit&quot;&gt;<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-t=
ab><br>
<br>

</dl>ERROR MSG (Production Server)<br>

<dl><b>
<dd>Error Diagnostic Information</b>
<dd>An error occurred while processing CFFTP tag (Cold Fusion error code
1, FTP error code 206): Cannot put local file test me test me test me
test me test me test me test me test me test me test me test me test me
test metest metest me test me test me test me test me test me test me
test me test me test me test me test me test me test metest metest me
test me test me test me test me test me test me test me test me test me
test me test me test me test metest metest me test me test me test me
test me test me test me test me test me test me test me test me test me
test metest metest me test me test me test me test me test me test me
test me test me test me test me test me test me test metest metest me
test me test me test me test me test me test me test me test me test me
test me test me test me test metest metest me test me test me test me
test me test me test me test me test me test me test me test me test me
test metest metest me test me test me test me test me test me test me
test me test me test me test me test me test me test metest metest me
test me test me test me test me test me test me test me test me test me
test me test me test me test metest metest me to remote file
NoCR_12-Jul-00_141755__F3.log: The filename or extension is too long
<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font=
 color=3D"#008000">
<dd>NOTE:&nbsp; All of the test me stuff is the contents of the
file</font>
</dl></html>

--=====================_791644406==_.ALT--

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to