Ahhh. You have images that are being uploaded by users!
Okay, here is a shamelessly quick and dirty way around this; assuming you
are using Windows.
Map a drive over, and refer to the mapped drive!
All this part might not be necessary, but its how I'd do it, "just to be
sure". If I'm wrong, ignore the bad parts an' keep the good.
Say your CFAS is running under an account called "CFAS_admin"...
Log onto SQUID as CFAS_admin
Map a drive from \\pig\images , say you call it P:. Also, tell it to
reconnect the mapped drive when restarting.
Now, in your CF code, when your customers upload an image, you CFFILE it
over to P:\{name your sub-directory}, and yer done.
Alan McCollough
Web Programmer
Allaire Certified ColdFusion Developer
Alaska Native Medical Center
> -----Original Message-----
> From: Brian P. Doyle [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, October 06, 2000 11:24 AM
> To: Fusebox
> Subject: RE: Slightly OT:CFFTP
>
> I see what you're saying now, but many of the images on our site might be
> uploaded by our users and need to be placed on the image server
> automatically. I can't drag all of the images over to another server.
>
> -----Original Message-----
> From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 06, 2000 2:04 PM
> To: Fusebox
> Subject: RE: Slightly OT:CFFTP
>
>
> Yeah, totally. take my environment for example.
>
> In our production environment, let's say my real server is SQUID. In
> SQUID,
> there is a folder called Images, where I store all my images. You know,
> stuff like http://squid/images/background.gif Stuff like that.
>
> I build up a cheapie image server box, and call it PIG. I just do a good
> ol'
> Windows (or Linux or what-have-you) copy of \\squid\images over to
> \\pig\images . It doesn't need to be an FTP or nothing. You just do the
> good
> ol' drag-n-drop.
>
> On SQUID, I then do a global search-n-replace for "http://squid/images"
> with
> "http://pig/images", and that's all the work you'll ever need to do. Yer
> done !
>
>
>
> Alan McCollough
> Web Programmer
> Allaire Certified ColdFusion Developer
> Alaska Native Medical Center
>
> > -----Original Message-----
> > From: Brian P. Doyle [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, October 05, 2000 5:30 PM
> > To: Fusebox
> > Subject: RE: Slightly OT:CFFTP
> >
> > images get uploaded to webserver via the cfm page, then you need to send
> > them over to your image server
> >
> > is there another way?
> >
> > -----Original Message-----
> > From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 05, 2000 5:50 PM
> > To: Fusebox
> > Subject: RE: Slightly OT:CFFTP
> >
> >
> > How does CFFTP tie in with relocating the images?
> >
> > Alan McCollough
> > Web Programmer
> > Allaire Certified ColdFusion Developer
> > Alaska Native Medical Center
> >
> > > -----Original Message-----
> > > From: Brian P. Doyle [SMTP:[EMAIL PROTECTED]]
> > > Sent: Thursday, October 05, 2000 11:38 AM
> > > To: Fusebox
> > > Subject: Slightly OT:CFFTP
> > >
> > > Following Doug Nottage's presentation at the Fusebox conference we've
> > been
> > > looking at ways to improve our site. We really liked the idea of
> having
> > > all
> > > images on another server so now we're trying to implement it. However
> > > CFFTP
> > > is being a pain. We keep getting errors with putfile. Have any of
> you
> > > used
> > > CFFTP? Any help would be greatly appreciated.
> > >
> > > Also if you know of some other method instead of using CFFTP that's
> cool
> > > too.
> > >
> > > Thanks in advance!
> > >
> > > -Brian
> > >
> > >
> >
> --------------------------------------------------------------------------
> > > ----
> > > To Unsubscribe visit
> > >
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox
> > or
> > > send a message to [EMAIL PROTECTED] with 'unsubscribe'
> > in
> > > the body.
> >
> --------------------------------------------------------------------------
> > --
> > --
> > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox
> or
> > send a message to [EMAIL PROTECTED] with 'unsubscribe'
> in
> > the body.
> >
> >
> --------------------------------------------------------------------------
> > ----
> > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox
> or
> > send a message to [EMAIL PROTECTED] with 'unsubscribe'
> in
> > the body.
> --------------------------------------------------------------------------
> --
> --
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
> ----
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.