Re: changing directory
Thanks Sam - that seems like a good idea. >You can do this with CF: > >Copy the folder to the new folder. > >Do a cfdirectory call to get all files in the new (or old) folder. > >Loop over and write a file to the old folder that has something like: > > >Test! > >You may also want to look at using cfheader and a status code of 302 >(I think) as that will tell browsers and search engines that the page >has moved permanently. See Google for more. > >Cheers, > >Sam Farmer >http://samfarmer.instantspot.com/blog/ > >On 4/12/07, daniel kessler <[EMAIL PROTECTED]> wrote: >> ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275620 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: changing directory
Daniel, You can do this with CF: Copy the folder to the new folder. Do a cfdirectory call to get all files in the new (or old) folder. Loop over and write a file to the old folder that has something like: Test! You may also want to look at using cfheader and a status code of 302 (I think) as that will tell browsers and search engines that the page has moved permanently. See Google for more. Cheers, Sam Farmer http://samfarmer.instantspot.com/blog/ On 4/12/07, daniel kessler <[EMAIL PROTECTED]> wrote: > I'm in a shared hosting environment, so I don't have access to the servers at > all. That's why I'm trying to do this through cold fusion coding. > > thank you anyhoo. > > daniel > > >In IIS look at the properties for that folder and do the following. > > > >Redirect to: http://localhost/NewFolderName$S$Q > > > >Check Box for "exact URL entered above > > > >Check Box for permanent redirection for this resource. > > > >-- > > > >Casey > > ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275145 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: changing directory
I'm in a shared hosting environment, so I don't have access to the servers at all. That's why I'm trying to do this through cold fusion coding. thank you anyhoo. daniel >In IIS look at the properties for that folder and do the following. > >Redirect to: http://localhost/NewFolderName$S$Q > >Check Box for "exact URL entered above > >Check Box for permanent redirection for this resource. > >-- > >Casey ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: changing directory
In IIS look at the properties for that folder and do the following. Redirect to: http://localhost/NewFolderName$S$Q Check Box for "exact URL entered above Check Box for permanent redirection for this resource. -- Casey ~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275040 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
changing directory
I have a directory where I need to change the name, but I want all the old urls to still work, just that they should go to the new url. I was thinking of duplicating the folder and changing the name. Then deleting all the files in the old folder, except an index. My thinking is that the application.cfm would be activated when someone goes into that folder (even if the old page isn't there?), maybe I can grab the location of the requested page, adjust it to the new page location and do a cflocation on it. I'm also thinking that this might be folly. It has tens of pages in the directory. thank you. -- Daniel Kessler College of Health and Human Performance University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 Phone: 301-405-2545 http://hhp.umd.edu ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275037 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfftp changing directory
Never mind. I figured it out. There is a hot fix for the this. http://www.allaire.com/Handlers/index.cfm?ID=18762&Method=Full This CFFTP hotfix corrects the SP2 specific issue which could cause CFFTP connections not to be reused (a performance consideration). The issue made the CFFTP tag reopen the connection to the FTP server for every request, even if the CONNECTION attribute is used. Thanks, Dan - Original Message - From: "Dan Blickensderfer" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, March 09, 2001 7:00 PM Subject: cfftp changing directory > Hello everyone, > > Is anyone having an issue with cfftp changedirectory command with cf server > ver 4.5.1 R2? > > I have the same code in place when CF Ver 4.0 was on the server. Since then > we upgraded to Ver 4.5.1 R2 > Now the code does not change directories. > > Here is the code that I'm using. > > username="#systemcontrol.username#" password="#systemcontrol.ftppassword#" > stoponerror="Yes" connection="ServerConnection" retrycount="1"> > connection="ServerConnection"> > remotefile="#Variables.ImageName#" transfermode="AUTO" > connection="ServerConnection"> > > > Thanks, > Dan > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
cfftp changing directory
Hello everyone, Is anyone having an issue with cfftp changedirectory command with cf server ver 4.5.1 R2? I have the same code in place when CF Ver 4.0 was on the server. Since then we upgraded to Ver 4.5.1 R2 Now the code does not change directories. Here is the code that I'm using. Thanks, Dan ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists