the name attribute you have given to the connection referes to the
connection object.  when you have opened the connection you have given it
[EMAIL PROTECTED]  When your calling the command your using "new" as the name.

Thats why its erroring



try this

<cfftp action="OPEN"
                username="anoyomous"
                password="password"
                connection="new"
                server="127.0.0.1"
                name="new"
                stoponerror="NO">

<cfftp
        action="ListDir"
        Directory="/Documents"
        Name="ListDocuments"
        Connection="new"
        >

        <cfoutput>#cfftp.succeeded#</cfoutput>

Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeremy
Sent: Wednesday, April 13, 2005 10:05 AM
To: CFAussie Mailing List
Subject: [cfaussie] CFFTP issue


Hi guys and gals,

I've been going mental about a small issue i have. I have set up FTP on
one of my sites. It goes a little something like this.

<cfftp action="OPEN"
                username="anoyomous"
                password="password"
                connection="new"
                server="127.0.0.1"
                name="[EMAIL PROTECTED]"
                stoponerror="NO">

<cfftp
        action="ListDir"
        Directory="/Documents"
        Name="ListDocuments"
        Connection="new"
        >

        <cfoutput>#cfftp.succeeded#</cfoutput>


NOW the error I've been getting for 2 days!!


Invalid connection specified.
The connection attribute you specified, new, is invalid or does not exist

But I've set it...what the hell?

Jeremy

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to