--=====================_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. 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. The same file with a extension of .log will upload perfectly.<br> <br> 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.<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. Code snippets below.<br> <br> CODE <dl> <dd><cfftp action=3D"OPEN" server=3D"blahblah" username=3D"me" password=3D"pass" connection=3D"ftpit"> <dd><cfftp connection=3D"ftpit" action=3D"PUTFILE" stoponerror=3D"Yes" localfile=3D"#filename#" remotefile=3D"newfilename" transfermode=3D"AUTO" <x-tab> </x-tab><x-tab> = </x-tab>asciiextensionlist=3D"txt;log;doc= ;rtf"> <dd><cfftp action=3D"CLOSE" stoponerror=3D"Yes" connection=3D"ftpit"><x-tab> </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> </x-tab><font= color=3D"#008000"> <dd>NOTE: 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.

