Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
cthoma #1
CFFTP problems with firewall
I'm working with ColdFusion MX 2004. Currently I'm trying to use CFFTP to go
out to my production web server (running Serv-U for the FTP server) and
retrieve a listing of directories and files. I can connect to my remote server,
and initiate the LIST command, but for some reason I get a "data transfer
aborted". This makes ColdFusion stop and report a "connection closed by peer"
error (I have stoponerror="yes").
I've checked the FTP connection using various FTP clients, including the
text-based one built into Windows 2000, and Deluxe FTP
([url]http://www.deluxeftp.com/[/url]). Both can successfully login with the same username
and password and get the file list.
I'm at a loss. I went looking for "CFX_FTP", but can't find a copy to
download. I've seen the other threads that talk about CFFTP getting stuck if
the file list is too long. That's not the case here - I'm only trying to get
one that is about 20 lines long, all directories. I've also tried just logging
into my personal web server using CFFTP, and still no go. When I use the
aforementioned FTP clients, however, everything works fine.
All I'm using is this:
<CFFTP action="open"
username="#ftp_user_temp#"
password="#ftp_pass_temp#"
server="#ftp_server_temp#"
port="#ftp_port_temp#"
connection="test_connection"
passive="yes"
stoponerror="no">
<CFSET ftp_success_a = cfftp.succeeded>
<CFFTP action="LISTDIR"
stoponerror="no"
name="test_directory"
directory=""
connection="test_connection"
retrycount="5">
This same code works just fine when used to access servers inside the
firewall. What am I missing here?
Any and all help would be greatly appreciated. If you with to email me
directly, feel free to do so at [email]cthoma@cityofsacramento.org[/email]. Thanks!
Respectfully,
Chris
cthoma Guest
-
Firewall problems
I have a very simple webservice that I want to access. It works fine when there is no firewall in the way, but when there is a firewall I have a... -
Firewall and Proxy Problems
In the fall, my company began development on a new delivery system for our online courses: a Flash based player that utilized a FlashCom server to... -
Problems connecting through a firewall
Hi, We are testing contribute with a client of ours. I've set up a simple test site which works fine with Contribute from our offices. The client... -
problems using cfftp
someone please help. I have this so far <cfset log_name = "ex#dateformat(dateadd('d', -1, now()),'YYMMDD')#.log.gz"> <cfftp action="open"... -
FTP Problems (probably my firewall)
Hello list, I'm trying to get FTPD working, but I think I'm not opening the correct ports for it in my firewall. I've got 20 and 21 open, and I...



Reply With Quote

