Mike,
  Not sure if you have tried this or not, but if your code seems to
work on your development server and not your production server, I
would first check the permission of the username you are trying to
connect with on your production ftp server.  Make sure the username
and password you are using have valid accounts on both the development
and production ftp servers.

-Dave

----- Original Message -----
From: Michael Kear <[EMAIL PROTECTED]>
Date: Sun, 27 Jun 2004 17:06:34 +1000
Subject: Now a CFFTP problem...
To: CF-Talk <[EMAIL PROTECTED]>

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