CFFTP to send file browsed by form?


greetings , happy new year.

i want user able browse file on local machine ftp folder on server.

i have form code as:

<form action="ftpfile.cfm" method="post" enctype="multipart/form-data" name="upload">
<p><input type="file" name="imagefile"></p>
<p><input type="submit" value=" upload "></p>

</form>

then action page:

<cfftp action="putfile"
server="000.000.000.00"
username="theirusername"
password="theirpassword"
passive="yes"
localfile="#form.imagefile#"
remotefile="/theirfolder/#form.imagefile#"
transfermode="auto"
port="0000">

<p>file uploaded!</p>

no errors, no file transferred.

any help?

thanks-

rinorman

use cffile, not cfftp


More discussions in Advanced Techniques


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial