Using CFFTP, getting Error 553
I want a user to be able to browse to a file on their local machine then FTP it to a remote server.I've been using CFFTP. I can make the connection to the server just fine. I have the path correct. I keep getting an Error 553, can't create the file. My web administrator says that he has the permissions set correctly. I don't know what else to do. I've been trying to make this work for over a month. Can someone give me a hand with this? I've tried 3 times to attach the cfm file which is 2k, but it says "content type of this attachement is not allowed." I'm pasting the code below. thanks.
<fieldset><legend>Upload a form to the server</legend>
<!--- Create HTML form to upload a file --->
<cfform action="test_cfftp.cfm" enctype="multipart/form-data"method="post">
<!--- File field for user to select or specify a filename --->
<label for="fileName"><a href="" onmouseover="Tip('Search for the file to upload. i.e. EFO00001_mm-dd-yyyy.pdf')", onmouseout="UnTip()">File to upload</a></label>
<cfinput type="file" name="fileName" ><br>
<!--- Submit button to submit the form (and upload the file) --->
<cfinput type="submit" name="upload" class="mysubmit" value="Upload the File">
</cfform></fieldset>
<!--- Get the file name of this file. --->
<cfset strFilePath = "/taxweb/pubs" />
<!--- Set up the FTP configuration. --->
<cfset objFTPProperties = {
Server = "xxxxxxxx",
Port = "xx",
Username = "xxxxxx",
Password = "xxxxxxx"
} />
<!---upload the file--->
<cfftp
action="open"
connection="objConnection"
attributeCollection="#objFTPProperties#"
/>
<cfset strFilePath = "/taxweb/pubs">
<cfoutput>at line 48 fileName = #fileName# and strFilePath = #strFilePath#</cfoutput><br />
<cfoutput>at line 49 strFilePath/fileName = #strFilePath##fileName# form.fileName = #form.fileName#</cfoutput><br />
<cfftp
action="putfile"
connection="objConnection"
localfile="#form.fileName#"
remotefile="/pubs/#fileName#"
transfermode="auto"
timeout="300"
/>
<CFDUMP VAR=#cfftp#>
<!--- Close the connection. --->
<cfftp
action="close"
connection="objConnection"
/>