Considering the CFFTP can only be used to FTP files from one FTP server to
another, I dont think that this is a valid option unless your client has an
FTP server on their machine

Regards

Steve Onnis
Domain Concept Designs
+61 422 337 685
+61 3 9444 7504

http://www.domainconceptdesigns.com <http://www.domainconceptdesigns.com>

("If you think it can't be done, you haven't asked me!") - Steve Onnis





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of DoohanOK
Sent: Friday, March 14, 2003 12:16 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: File Upload Prob


Don't forget that CFFILE is reliant on the memory capacity of the CF
server. If the server bombs out due to insufficient RAM you upload will
also fail. 2Mb is an acceptable limit for uploading via CFFILE (which
uses the HTTP protocol). Investigate using CFFTP if you have problems.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Gardiner
Sent: Friday, 14 March 2003 12:11 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: File Upload Prob


Dean your problem is that your cfif statement below will always
return false.
 <!--- Check to see if a valid file was specified --->
 <CFIF #Form.upfile# IS NOT "" AND #FileExists(Form.upfile)#>

This is because FileExists() needs an absolute path to a file as a
parameter, Form.upfile will actually be the posted file not a path to
the file. Drop the "AND FileExists(Form.upfile)" and you should be
good to go.

If you still having troubles after that, check that your posting form
has the attribute EncType="multipart/form-data" set.

Cheers. Mike Gardiner.



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to