The issue is resolved. I didn't need to include the DIRECTORY attribute and
instead specified the folder in the REMOTEFILE attribute. Not sure why the
first version worked on my localhost and not on the remote server, but I
won't ask. :-)
Marc Garrett
----- Original Message -----
From: "Marc Garrett" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 4:55 PM
Subject: problem with CFFTP on hosted server
> Hi,
>
> I am having problems getting CFFTP to work on a shared server hosted at
> Intermedia. The following code works on localhost (I have already
> established the connection):
>
> <CFFTP ACTION="GetFile"
> STOPONERROR="Yes"
> NAME="GetBR_Res"
> DIRECTORY="Database/"
> CONNECTION="my_query"
> localfile="[the local path here]\Cities.txt"
> remotefile="Cities.txt"
> timeout="60"
> transfermode="ASCII">
>
> When I run it on the shared host I get the error below. I have verified
that
> the physical path for LOCALFILE is correct:
>
> "Attribute set validation error in tag CFFTP
> The tag has an invalid attribute combination: the value of the tag switch
> attribute 'ACTION' which is now 'GETFILE' requires a different combination
> of attributes. For the same switch attribute value the following unknown
> attributes have been provided: (DIRECTORY,NAME).
> The error occurred while processing an element with a general identifier
of
> (CFFTP), occupying document position (52:1) to (60:25)."
>
> Thanks for any assistance.
>
> Marc Garrett
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists