Mike,

What version of CF Server is installed on server?

Thanks,
Dan Blickensderfer


----- Original Message -----
From: "Mike Kear" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, January 12, 2002 8:18 PM
Subject: RE: CFFTP help please .. whats wrong here?


> Thanks, Jim.  I did that but the problem didn't go away.   I checked usin
> g a
> text output that the code you sent me does indeed yield the correct
> directory and file, so that's correct, sure enough.  But I guess that was
> n't
> the error.  I still get an error in <h1>tags at the top of the page sayin
> g :
> "The attribute FileOnServer must contain a filename with a .htm or .html
> extension".    Could this be the ftp server sending this message?    If i
> t
> was my CF5 server sending the message it would appear in the debugging
> message at the bottom of the template wouldn't it.
>
> I don't get this message when I do it using CuteFTP or the DOS FTP progra
> m.
>
> Any other ideas what could be causing the PUTFILE tag to fall over?
>
> Cheers,
> Mike Kear
> Windsor, NSW, Australia
> AFP WebWorks
>
>
> -----Original Message-----
> From: Jim McAtee [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 13, 2002 11:26 AM
> To: CF-Talk
> Subject: Re: CFFTP help please .. whats wrong here?
>
> Yes, if I recall correctly.  If the file is in the same directory as the
> template, you can use:
>
> localfile="#ExpandPath('filetoupload.html')#"
>
> Jim
>
>
> ----- Original Message -----
> From: "Mike Kear" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Saturday, January 12, 2002 5:18 PM
> Subject: RE: CFFTP help please .. whats wrong here?
>
>
> > Are you saying that the attribute "localfile" in the putfile tag should
>  b
> > e
> > something like
> > localfile="C:\inetpub\wwwroot\clientsite\workingfolder\filetoupload.h
> tm
> > l"
> > rather than localfile="filetoupload.html"?
> >
> > Cheers,
> > Mike Kear
> > Windsor, NSW, Australia
> > AFP WebWorks
> >
> >
> >
> > -----Original Message-----
> > From: Jim McAtee [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, January 13, 2002 11:11 AM
> > To: CF-Talk
> > Subject: Re: CFFTP help please .. whats wrong here?
> >
> > Are you using a fully qualified path to designate the 'localfile'?
> >
> > Jim
> >
> >
> > ----- Original Message -----
> > From: "Mike Kear" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Saturday, January 12, 2002 4:57 PM
> > Subject: CFFTP help please .. whats wrong here?
> >
> >
> > > I'm trying to have a CF template automatically upload a file to a cli
> en
> > t's
> > > site, and I keep getting an error.   I don't know what's wrong .. can
> > > someone see please?
> > >
> > > The error I'm getting is:  "The attribute FileOnServer must contain a
> > > filename with a .htm or .html extension   500 Illegal PORT command"
> an
> > d
> > the
> > > debugging info says it's to do with the CFFTP tag that's doing the pu
> tf
> > ile
> > > action.
> > >
> > > I've done all these actions using the DOS window FTP program, so I kn
> ow
> >  I
> > > have all the relevant permissions to do this.
> > >
> > >
> > > Here's my code:  (servername and password etc changed to protect the
> > > innocent)
> > >
> > >
> > > <cfftp action="OPEN"
> > >         server="servername.com.au"
> > >         username="username"
> > >         password="password"
> > >         stoponerror="Yes"
> > >         port="21"
> > >        connection="clientname">
> > >
> > >
> > >
> > > <cfftp action="CHANGEDIR"
> > > directory="/home/radio/public_html/therightfolder"
> > > connection="clientname">
> > >
> > >
> > > <cfftp action="PUTFILE"
> > >        stoponerror="Yes"
> > >        localfile="filetoupload.html"
> > >        remotefile=" filetoupload.html"
> > >        transfermode="ASCII"
> > >        connection="clientname">
> > >
> > > <cfftp action = "close"
> > >        connection="clientname"
> > >        stopOnError = "Yes">
> > >
> > >
> > > Can you see what's wrong?
> > >
> > > Cheers,
> > > Mike Kear
> > > Windsor, NSW, Australia
> > > AFP WebWorks
> > >
> > >
> >
> >
>
> 
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to