Hello,

We are developing a CFFTP tag replacement.

If you would like to try it go to
http://plato.venus.co.uk/demo/bimal/cfx_ftptransfer/index.html

Let me know how you get along.

Bimal

-----Original Message-----
From: Mike Kear [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2002 11:42
To: CF-Talk
Subject: RE: CFFTP help please ..the documentation sucks.


Nope.  Didn't work either.   I'm sick of this CFFTP and it's not worth go
ing
on.  I'm just going to continue to use CuteFTP and put CFFTP down as yet
another part of ColdFusion that doesn't work because it  has piss poor
documentation.   It's simply not possible to make CFFTP work if you follo
w
the documentation. There are other aspects that aren't listed.  There's n
o
description of this problem nor anything that helps fix it.

I know writing documentation is very difficult,  but this is version 5.
CFFTP has been there for ages.  They ought to have it properly documented
 by
now.

Cheers,
Mike Kear
Windsor, NSW, Australia
AFP WebWorks


-----Original Message-----
From: Dan Blickensderfer [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 13, 2002 1:09 PM
To: CF-Talk
Subject: Re: CFFTP help please .. whats wrong here?

Mike,

If I can recall correctly.
If you are using a form with an enctype="multipart/form-data" and using
 that
variable as your remotefile.  It usually
has a temp variable from windows. like this. C:\WINNT\ACF56.tmp

I usually force the extention on the remotefile.  Here is an example of c
ode
that I use for ftp images to the server.

<cfset ImageName = lookuprec.rec_id & '.jpg'>
<cfftp action="OPEN" server="#variables.systemurl#"
username="#variables.systemftpusername#"
password="#variables.systemftppassword#" stoponerror="Yes"
connection="ServerConnection" retrycount="5">
<cfftp action="CHANGEDIR" stoponerror="Yes" directory="images\topst
ory\"
connection="ServerConnection">
<cfftp action="PUTFILE" stoponerror="Yes" localfile="#form.picturen
ame#"
remotefile="#Variables.ImageName#" transfermode="AUTO"
connection="ServerConnection">
<cfftp action="CLOSE" stoponerror="Yes" connection="ServerConnectio
n">

I don't know if this will help or not.

Thanks,
Dan





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


> I have CF5.  The reason I have to do this is the client isn't on a CF h
os
> t,
> so I have to generate static pages and upload them to their old fashion
ed
> html host.
>
> Cheers,
> Mike Kear
> Windsor, NSW, Australia
> AFP WebWorks
>
>
> -----Original Message-----
> From: Dan Blickensderfer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 13, 2002 12:38 PM
> To: CF-Talk
> Subject: Re: CFFTP help please .. whats wrong here?
>
> 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
us
> in
> > 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
 w
> as
> > n't
> > the error.  I still get an error in <h1>tags at the top of the page s
ay
> in
> > g :
> > "The attribute FileOnServer must contain a filename with a .htm or .h
tm
> l
> > 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 debuggin
g
> > 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 pr
og
> ra
> > 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
th
> e
> > 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 sh
ou
> ld
> >  b
> > > e
> > > something like
> > > localfile="C:\inetpub\wwwroot\clientsite\workingfolder\filetouplo
ad
> 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
 c
> li
> > en
> > > t's
> > > > site, and I keep getting an error.   I don't know what's wrong ..
 c
> an
> > > > someone see please?
> > > >
> > > > The error I'm getting is:  "The attribute FileOnServer must conta
in
>  a
> > > > filename with a .htm or .html extension   500 Illegal PORT comman
d"
> > an
> > > d
> > > the
> > > > debugging info says it's to do with the CFFTP tag that's doing th
e
> 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
th
> e
> > > > 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
> > > >
> > > >
> > >
> > >
> >
> >
>
>


______________________________________________________________________
Get Your Own 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=coldfusionb
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