Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFFTP Strange Problems

Status
Not open for further replies.

jmcg

Technical User
Jun 30, 2000
223
GB
I have two CFFTP commands on my site. One works and the other returns an error: "No response from server."

The code that works is a rename action and the putfile action fails, both work fine on the local CF server however on the live one they fail.

Code is :
<CFFTP username=&quot;mcgovej&quot; password=&quot;#Pword#&quot; server=&quot;business.intra.com&quot;
stoponerror=&quot;Yes&quot; action=&quot;PUTFILE&quot; transfermode=&quot;BINARY&quot; localfile=&quot;c:\REPweb\#jmFile#&quot;
remotefile=&quot;/webuser/nbc/smereporting/#jmFile#&quot; connection=&quot;rw_ftp&quot;> [sig][/sig]
 
On the SERVER=&quot;business.intra.com&quot; parameter, try something along the lines of SERVER=&quot;ftp.business.intra.com&quot; let me know if this clears up the problem....

DM [sig][/sig]
 
DarkMan
Nice try but it did not work.
It seems to be the localfile that is causing the problem, the other CFFTP command is a rename and this works fine, it is the PUTFILE that seems to be the problem.
One additional strange thing is that it actually FTPs a blank file over to the correct directory and name but it does not seem to pick up the file from the local. [sig][/sig]
 
jmcg,

I have heard of a similar problem on another forum. The answer there was that the directory that was being written to was just mapped, not an absolute reference.

Let me know if this helps. Thanks

Paul [sig][/sig]
 
Paul
Yes and no, I picked up that tip as well form Allaire and applied it but it is still FTPing the 0 byte file, thanks anyway.
jmcg [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top