Error with cfftp
I am trying to work on a simple app that will allow users to easily send files to our FTP server.....
I have the form:
<cfform name="form" action="CF/ftpUp.cfm">
File to upload to FTP: <cfinput type="file" name="testFile" title="Test">
<br>Email address: <cfinput type="text" name="emailAddress"></br>
<!---<cfinput type="hidden" name="testFile" value="c:\tmp">--->
<br /><cfinput type="submit" name="Upload" value="Upload">
</cfform>
And the processing page:
<cfftp username="commuser" password="pass" action="putfile" localfile="#form.testFile#" remotefile="#form.testFile#" server="ftp2.idaho.net" transfermode="auto">
When when I select a file to upload, and try, I'm getting:
An error occurred during the FTP putfile operation.
Error: Basement Jaxx - Rooty - 01 - Romeo.mp3 (The system cannot find the file specified).
Why would this be??
