I never had a reply from MM and even in the open support forum.
CFFTP, without additional (and optional) attributes DOES NOT work in a
sandboxed folder, except if you follow the a workaround (see bellow).
CFMX returns the following error:
"Security: The requested template has been denied access to
localhost:1024-.The following is the internal exception message: access
denied (java.net.SocketPermission localhost:1024- listen,resolve)."
I've checked everything and, AFAIK, my sandbox configuration are ok, also
allowing any external connection (Server/Ports config in the sandbox inside
the CFAdministrator). Im not sure, but I believe CFFTP uses FTP PORT by
default (the "passive" attribute is "no" by default).
Reading the error returned by CFMX some could ask to add 1024 (and higher)
TCP port in the "Server/Port" settings. Well, it doesn't change anything and
also doesn't make sense. I've added all possible weirdness as TCP ports (20,
21, various ranges etc, etc) with no sucess. The tag (in it's defaults)
simple doesn't work under a default sandbox context (with all IP/Ports open
and availble for connection). And if the FTP server (or even the firewall
ahead of it) that I want to connect doesn't allow me to use PASV mode?
The only workaround for it is to use passive mode (passive="yes") and (if
you're restricting access to "Server/Ports") add the FTP host wide opened
(leaving the "port" field blank) or add two entries (1) ftp.somehost.com:21
and (2) ftp.somehost.com:1024- (1024 and higher).
To exemplify:
1) http://www.alexhubner.com/ftp_port/ (using the default port mode)
2) http://www.alexhubner.com/ftp_pasv/ (using pasv mode)
Does anybody faced a similar issue? I've googled around and didn't found any
mention to it.
Many thanks!
Alex Hübner
PS: the cfml template I'm using in the examples above is here:
http://www.alexhubner.com/ftp_pasv/index.zip and a screenshot of my
"server/ports" config in the sandbox is here:
http://www.alexhubner.com/ftp_pasv/pic.gif
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

