I'm not having a great day today!   (sigh)   Now I cant see why the
following code would work ok on my dev server, but when I upload it to the
production server it doesn't work.   What happens is it executes the CFFTP
Open command ok, but when it executes the next command I get the error
message:

{quote]

An exception occurred when performing the FTP CHANGEDIR operation.

[/quote]



Here's the code:   It's copied directly from my dev server to the production
server and I cant see why it would work in one but not the other.  (I've
checked, and CFFTP isn't disabled on the production server.  The only
difference I can see is that my dev server is CFMX6.1 standard, and the
production is MX6.1 Enterprise Edition.)   If I take out the CHANGEDIR code,
and go straight to the PUTFILE code, the same error occurs at the same
point, so it's not a syntax error in the CHANGEDIR tag.   Any ideas?

[CODE]

<cfftp action=""

        server="servername"  

        username="username"

        password="password"

        stoponerror="Yes"

        port="21"

       connection="hawkradio">

               

   .....   Connection opened  .....<br>           

   

<cfftp action=""

directory="/public_html"

connection="hawkradio">  

   .....   uploading the file .....<br>

<cfflush interval="2">

<cfftp action="">
       stoponerror="Yes"

       localfile="#request.absolutepath#\guide.htm"

       remotefile="guide.htm"

       transfermode="ASCII"

       connection="hawkradio">

   .....   Done .....<br>

<br>

<cfftp action = "">
       connection="hawkradio"

       stoponerror = "Yes">

[/CODE]

Cheers

Mike Kear

AFP Webworks

Windsor, NSW, Australia

http://afpwebworks.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to