Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / ColdFusion Developer Center /

Using ColdFusion Builder FTP integration

by Ben Forta

Ben Forta
  • forta.com

Modified

3 March 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
ColdFusion Builder 2 integration

Requirements

Prerequisite knowledge

This article assumes prior experience with ColdFusion.

User level

Beginning

Required products

  • ColdFusion Builder 2 (Download trial)

Note: This article is applicable for ColdFusion Builder 2.

ColdFusion Builder is the planned and eagerly anticipated IDE built specifically for ColdFusion developers. Lots have already been written about ColdFusion Builder, and lots more will undoubtedly be written. But one feature that has been mentioned and not discussed in much detail yet, an absolutely vital feature for me personally, is the FTP integration. And having been using it extensively, and realizing that in doing so it is sometimes less than intuitive, I thought I'd share some notes on how to get started with ColdFusion Builder's FTP integration.

But first, a quick introduction. ColdFusion developers don't well, shouldn't ever write code on production servers. Ideally, they use a local Developer Edition it's free! , write and test, and then deploy to another server, perhaps a staging server or a production server, as the case may be. Moving files to remote servers often requires the use of FTP, and so ColdFusion Builder features built-in support for FTP as well as FTP's more secure cousins, SFTP and FTPS . Using the FTP integration it becomes possible to easily upload and download files or folders or even entire sites , compare local and remote file versions, and more.

Define your FTP connection

To use ColdFusion Builder's FTP integration, you first need to define your FTP server, including specifying login information. To do this, open the ColdFusion Builder File view (by default it is on the left, under the Navigator view), and scroll down to find the FTP connection types (FTP, FTPS, SFTP). You can then right-click on the FTP connection type, and select the Add New FTP Site option to display the Create A New FTP Connection dialog box (see Figure 1).

Create a new FTP connection.
Figure 1. Create a new FTP connection.

You'll need to specify the following:

  • Site Name: A unique name for each defined FTP connection
  • Connection Type: Should be set correctly based on the FTP connection type you right-clicked on
  • Server: FTP server host name or IP address
  • Username: FTP login name
  • Password: FTP login password (or leave blank to be prompted for it when needed)
  • Remote Path: Path to starting directory on FTP server (This will usually be / unless you have multiple sites defined. If it's wrong you'll know when you browse the server and see the wrong files and folders.)

Once you have filled in the form, click the Test button to make sure you can indeed connect to the server. And finally, click OK to save the connection.

Note: ColdFusion Builder will default to using FTP passive mode. To change this if needed, click the Advanced Options button.

Once your FTP connection is defined, it'll show up under the appropriate FTP connection type in the File tab. You can expand and collapse the defined FTP connection to browse and access remote files and folders.

Connect to ColdFusion Builder projects

So far so good. But now let's connect this to ColdFusion Builder projects. When you work in ColdFusion Builder, you define a ColdFusion project, which is accessed via the Navigator view. ColdFusion projects can be associated with FTP connections so that you can easily upload, download, and synchronize files. To do this, right-click on the project in the Navigator view, and select Synchronize, and then select Create New Synchronize Connection (see Figure 2).

A unique name for each defined connection</li>  <li><strong>Path Local:</strong> Select your project, if it is not already selected</li>  <li><strong>Path Remote:</strong> Select the FTP server connection from the drop down list</li> </ul> <p>Then click OK to save the connection.
Figure 2. Create site connection

You'll be asked to define the connection, as follows:

  • Connection Name: A unique name for each defined connection
  • Path Local: Select your project, if it is not already selected
  • Path Remote: Select the FTP server connection from the drop down list

Then click OK to save the connection.

Synchronize

You've now associated an FTP connection to your project, and you can use the synchronization options available from within the project right-click menu. To upload a file or folder, right-click on the desired file or folder, select Synchronize, and then select Upload. To download a file or folder, right-click on the desired file or folder, select Synchronize, and then select Download. You can also select Synchronize to perform a full synchronization, which will upload, download, and update, all in one step. This option displays the Smart Sync screen, which is used to actually manage the synchronization (see Figure 3).

Note: Smart Sync runs based on the selected folder, and also includes all child folders. To Smart Sync an entire site, start from the site root. To Smart Sync a specific folder, make sure that folder is selected when you launch the Smart Sync window.

Sync preview
Figure 3. Sync preview

The Smart Sync screen lists all files that are not in synch, and indicates which way the synchronization needs to go (based on which is newer, the local file or the remote file). You can skip specific files and folders by clicking the Skip column, and can also instruct Smart Sync to delete orphaned files (ones that don't have matching files on the other end). Once you have identified the files and folder to synch, click the Start Sync button to initiate the synchronization process.

Note: By default, the Smart Sync screen displays all files and folders in a long list that can quickly become unmanageable. You may want to click on View Options and select Tree to display the Resources in a tree view.

One last tip to keep in mind. You can see exactly what the FTP connectivity is doing (down to each FTP command executed and the response received) in the Console view (by default this is under the editor area). The Console view is used for all console output. If it is not displaying FTP information, click on the Display Selected Console button above the view and select Aptana Synching Console.

Where to go from here

To learn more about ColdFusion and ColdFusion Builder, visit the ColdFusion Developer Center.

 

Tutorials & Samples

Tutorials

  • Using Axis2 web services with ColdFusion 10
  • Serving HTML5 videos with ColdFusion 10
  • HTML5 WebSockets and ColdFusion -- Part 2

Samples

ColdFusion Blogs

More
07/06/2012 Adobe ColdFusion 10 on CIO.com
06/22/2012 Elishia Dvorak Joins as ColdFusion Solution Consultant and Product Evangelist
06/19/2012 Outstanding contributions to the ColdFusion 10 and ColdFusion Builder 2.0.1 pre-release
06/18/2012 CF html to pdf service - consume from node.js using rest api

ColdFusion Cookbooks

More
04/01/2012 Send multiple mails with the adresses from database
07/27/2011 Passing a list with with STRING values
05/27/2011 AUTOMATED SANITIZED Resultset with ColdFusion
03/16/2011 Using Metadata To Add Static Variables to ColdFusion Components

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement