RE: upload destination
> I'm pretty sure you can't use network pathing in cffile. Sure you can, as long as the ColdFusion Application service is running as a user with rights to access the network share you want to use it shouldn't be a problem. -Justin Scott, http://www.tlson.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312840 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: upload destination
Sure you can. You just need to make sure that CF is running as a user with the needed permissions to manage files on the remote share. ..:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Steve Good [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2008 7:17 PM To: CF-Talk Subject: Re: upload destination I'm pretty sure you can't use network pathing in cffile. However, you could mount the remote directory as a drive on the server performing the cffile and target the mounted drive. Or you could use cfftp. I really don't know of another way, which doesn't mean there isn't another way, I just don't know of any others. Steve Good http://lanctr.com On Sep 16, 2008, at 8:51 AM, Orlini, Robert wrote: > Anyway to upload a file using CFFile to another server other than > the one where the CF server's gettempdirectory is? > > fileField = "FileContents" > > destination = "\\otherserver\public\uploads\#i#\" > > accept = "image/jpg, application/msword, text/HTML, application/pdf" > nameConflict = "MakeUnique"> > > Thanks. > > RO > HWW > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312836 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: upload destination
I'm pretty sure you can't use network pathing in cffile. However, you could mount the remote directory as a drive on the server performing the cffile and target the mounted drive. Or you could use cfftp. I really don't know of another way, which doesn't mean there isn't another way, I just don't know of any others. Steve Good http://lanctr.com On Sep 16, 2008, at 8:51 AM, Orlini, Robert wrote: > Anyway to upload a file using CFFile to another server other than > the one where the CF server's gettempdirectory is? > > fileField = "FileContents" > > destination = "\\otherserver\public\uploads\#i#\" > > accept = "image/jpg, application/msword, text/HTML, application/pdf" > nameConflict = "MakeUnique"> > > Thanks. > > RO > HWW > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312834 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4