Discussion Board

ask questions, discuss topics, solve problems

This is a public Discussion Area  publicRSS

Thread

    • <cfftp> putfile runtime error
      Thread posted Apr 02 by mabedian1
      206 Views, 0 Comments
      Title:
      <cfftp> putfile runtime error
      Content:

      Hi,

      I just recently moved my sites from CF 6 to CF 8. Everything seem to work fine until I started testing on other file transfer modules on my site.

       

      <cfftp

      connection="newsfeed_connect"

      action="open"

      server="servername"

      username="username"

      password="password"

      stoponerror ="no"

                      timeout="300"

      >

      <!---  Check to see if the connection was opened --->

      <cfif cfftp.Succeeded is "No">

      <!--- Connection did not open so we display an error --->

      <p><font color="#FF0000">Sorry invalid username/password information. Please use the back button.</font></p>

      <cfelse>

      <!--- Change directory to the designated csulb newsfeed location --->

         <cfftp

      connection="newsfeed_connect"

      action="changedir"

      directory="#csulb_newsfeed_location#"

      stoponerror ="no"

      >

      Attempting to access the publishing location ...<br />

      <!--- Put file to rss location --->

      <cfftp

      connection="newsfeed_connect"

      action="putfile"

      localfile="#filestorage#\newsfeed.xml"

      remotefile="newsfeed.xml"

                             timeout="300"

                             transfermode="auto"

      stoponerror ="no"

      >

      <cfftp connection="newsfeed_connect" action="close" >

      This code is still working fine on CF 6 but gives me runtime error on CF 8.

       

      Is there something that I am missing? or it can be a bug on CF 8.

      I really appreciate if anyone could assist me on this matter.