Are you explicitly specifying "passive" mode from your command-line connection? I believe by default the command shell uses active connections. If the server you are connecting does not support passive mode, this could be your problem.
Try removing the "passive" parameter from your CFFTP call and see if that clears anything up. Otherwise, if you could post the transcript from your command-line session, that could be useful in helping to spot differences between the two different connections. Take Care, Seth -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Force Sent: Tuesday, July 31, 2007 8:59 AM To: Houston ColdFusion Users' Group Subject: [houcfug] Re: CFFTP Issue Charlie, Thanks for the help. I can use the command line FTP on the server where my CF server resides and connect to the client. I can also connect to another remote FTP server from CF. It's either something with the CF Server or on the Client's FTP site. I'll give the "Result" a try and see what I can bring back. Mark On Jul 30, 5:24 pm, "Charlie Arehart" <[EMAIL PROTECTED]> wrote: > Mark, here are a couple thoughts: that FTP client is running on your > workstation, I imagine. Is the CF Server as well? If not, there could be an > issue in running it from the CF server that's different from running it from > your local workstation. If they are different, you could either try running > the CFFTP from your workstation, or if it doesn't happen then, put an FTP > client on the server and run *that* from there. Could be any number of > differences between the two environments. > > If that's not it, I wonder if you may get more info by adding the RESULT > attribute (a little known new attribute for many tags in CF7) and CFDUMPing > that to see if there may be more detail in the error message you're getting. > > Finally, if you google: > > ftp "truncated server reply" > > You find lots of other reports of people hitting this, though not CF > specific. In fact, if you replace CFFTP for FTP above, you get 0 hits, which > is what really makes me think this may be an environmental issue, not a CF > one. Hope that helps. > > /charlie-----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf > > Of Force > Sent: Monday, July 30, 2007 4:57 PM > To: Houston ColdFusion Users' Group > Subject: [houcfug] CFFTP Issue > > I'm using the following code to move a file from our CF Server to a Client > server. When I run it I get the error: > > cfftp.errorcode -1 > cfftp.ErrorMessage Truncated server reply: > cfftp.succeeded No > > I'm able to connect to the client's ftp site with a 3rd party ftp client, > but not CF 7.02 > > <cfftp action="open" > username="#ARGUMENTS.ftp_user#" > password="#ARGUMENTS.ftp_password#" > server="#ARGUMENTS.ftp_site#" > connection="myFileUpload" > stoponerror="no" > passive="yes"> > > Has anyone run into this issue? > Thanks. > > Mark F. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [EMAIL PROTECTED] For more options, visit http://groups.google.com/group/houcfug?hl=en -~----------~----~----~----~------~----~------~--~---
