Giles,
You might want to put in some debug clauses so that you can see where it
breaks down.
So after each ftp action:
<cfif NOT CFFTP.Succeeded>
Command getcurrentDir failed
<cfabort>
</cfif>
Then when it fails you'll be able to get a better idea of whats going wrong
Taz
----- Original Message -----
From: "Giles Roadnight" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 14, 2002 3:18 PM
Subject: Re: [ cf-dev ] CFFTP
> Sorry, send button got pressed when I was trying to minimise the window!!
>
> Anyuway, I have this:
>
> <CFFTP ACTION="open"
> USERNAME="username"
> PASSWORD="password"
> SERVER="server"
> CONNECTION="connection">
>
> <!--- get current dir --->
> <CFFTP ACTION="getcurrentDir"
> CONNECTION="connection">
>
> <cfoutput>#cfftp.returnvalue#</cfoutput><br>
> <CFFTP ACTION="changedir"
> directory="../"
> CONNECTION="connection">
>
> <cfoutput>#cfftp.returnvalue#</cfoutput><br>
>
> <!--- get current dir --->
> <CFFTP ACTION="getcurrentDir"
> CONNECTION="connection">
>
> <cfoutput>#cfftp.returnvalue#</cfoutput><br>
>
>
> <CFFTP ACTION="close"
> CONNECTION="connection">
>
> And the output I get is this:
>
> /SPN
> 250 CWD command successful.
> /SPN
>
> Why isn't it changing the directory? I have tried other directories, /
and
> ../
>
>
> ----- Original Message -----
> From: "Giles Roadnight" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 14, 2002 3:06 PM
> Subject: CFFTP
>
>
> > Hi Guys
> >
> > I am trying to get CFFTP to work and it is being very unco-operative.
> >
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]