Start learning with our library of video tutorials taught by experts. Get started

ColdFusion Builder Essential Training

Using FTP


From:

ColdFusion Builder Essential Training

with Daniel Short

Video: Using FTP

While it's always best to work on local development environments when you're doing your day-to-day work, there's always comes a time when you to need to upload a file to a server. We can do this is in CF Builder by creating a synchronization connection between our projects and a remote FTP server. There's just a few simple steps to get things configured. To associate a project with an FTP connection, you simply need to right-click on the project, choose Synchronize and Create New Synchronize Connection. In the Site Connection dialog box, you provide a name for your connection. We'll leave it at the default, which is our project's name.
Expand all | Collapse all
  1. 7m 48s
    1. Welcome
      59s
    2. Installing ColdFusion Builder
      2m 20s
    3. Installing ColdFusion Builder as a plug-in
      3m 18s
    4. Using the exercise files
      1m 11s
  2. 17m 42s
    1. Workspace overview
      2m 25s
    2. Organizing your workspace
      6m 19s
    3. Adding and selecting workspaces
      2m 53s
    4. Installing and managing plug-ins
      6m 5s
  3. 12m 12s
    1. Creating projects
      2m 11s
    2. Importing projects
      2m 48s
    3. Creating project working sets
      2m 23s
    4. Managing projects
      2m 22s
    5. Linking folders
      2m 28s
  4. 23m 2s
    1. Configuring and managing ColdFusion servers
      6m 26s
    2. Using the Services Browser
      4m 15s
    3. Using RDS Dataview and Fileview
      4m 52s
    4. Using FTP
      7m 29s
  5. 18m 10s
    1. Creating editor profiles
      2m 6s
    2. Using Code Assist
      5m 43s
    3. Setting code coloring
      4m 5s
    4. Using shortcut keys
      3m 5s
    5. Working with outlines and syntax checking
      3m 11s
  6. 37m 40s
    1. Using code completion
      7m 25s
    2. Using snippets
      9m 23s
    3. Using SQL editing and the Query Viewer
      5m 55s
    4. Working with components
      7m 27s
    5. Working with variable mapping
      2m 14s
    6. Navigating code and documents
      5m 16s
  7. 13m 12s
    1. Getting set up
      3m 50s
    2. Using the ColdFusion debugger
      5m 37s
    3. Watching logs with Tailview
      3m 45s
  8. 13m 8s
    1. Installing extensions
      4m 5s
    2. Using the CFC Generator extension for ColdFusion 8
      4m 52s
    3. Using the CFC Generator extension for ColdFusion ORM
      4m 11s
  9. 34m 5s
    1. Building a simple contact form extension
      3m 42s
    2. Creating user interfaces
      8m 55s
    3. Packaging the extension
      3m 55s
    4. Building the handler
      8m 10s
    5. Using the Builder extension
      9m 23s
  10. 25s
    1. Goodbye
      25s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
ColdFusion Builder Essential Training
2h 57m Beginner Mar 22, 2010

Viewers: in countries Watching now:

ColdFusion Builder, based on the Eclipse workbench, is Adobe’s first dedicated development environment for programmers of ColdFusion-based Internet applications. ColdFusion Builder Essential Training, with author Dan Short, is designed to teach both new and experienced ColdFusion developers how to configure servers and services, generate data-aware components, and create custom extensions. Exercise files accompany the course.

Topics include:
  • Installing ColdFusion Builder
  • Customizing the ColdFusion Builder workspace
  • Managing assets within a project
  • Setting up ColdFusion servers
  • Coding with Code Assist, code coloring and syntax checking
  • Using code snippets
  • Working with components and variable mappings
  • Creating custom Builder extensions
Subjects:
Developer Web
Software:
ColdFusion Builder
Author:
Daniel Short

Using FTP

While it's always best to work on local development environments when you're doing your day-to-day work, there's always comes a time when you to need to upload a file to a server. We can do this is in CF Builder by creating a synchronization connection between our projects and a remote FTP server. There's just a few simple steps to get things configured. To associate a project with an FTP connection, you simply need to right-click on the project, choose Synchronize and Create New Synchronize Connection. In the Site Connection dialog box, you provide a name for your connection. We'll leave it at the default, which is our project's name.

We choose the project that it's going to be connected to and then we can choose which type of server we want to associate with this project. So, our options are FTPS, FTP, another existing project shortcut, or SFTP. In this case, we're going to choose FTP. This'll bring up the new connection dialog box and we'll give our site a friendly name that we can reference. In this case, it's going to be server1. I can select my connection type, which, in this case, is FTP. I can change it if I had made the wrong selection in the previous dialog and then I'll provide my FTP details.

In this case, my server name is server1.sitedrivinc.com. My user name is cfbuilder and my password is top-secret. Then I'll click Test to make sure that the FTP connection actually works. We can see that the connection is succeeded. If there was a problem, it'd tell us what that problem was, so that we could correct it. Click OK and then I can choose the remote path. In my server's case, my remote path actually includes my user name.

Your server may or may not have this requirement. So, make sure that you have the proper remote path specified as defined by your host. So, you click on the Advanced Options and change the port number, use passive mode, or if you're having problems with the synchronize functionality not working correctly, you can calculate the server and client time offset. In this case, I don't need to change anything so I'll click OK and click OK once more. Now I can see that I have my project associated with my new server1 remote connection.

I'll click OK once more and if I look at my File view, I can see my new Project Shortcut is setup here. My FTP server that I've just defined is set up here. And in my Navigator view, I can now see I have these double arrows here that determine that there is a synchronization connection associated with this project. So, now how do we upload files? Well, in our Chapter 3 directory, let's create a new file to upload. I'll right-click, choose New > ColdFusion page, just call this index and we'll type some code in here, This is my test file.

I'll save that and to upload, I need to right-click on the file, choose Synchronize and Upload. When I click Upload, it's going to give me a message that says, "are you sure you want to upload this file?" It'll overwrite any items with identical names at the destination. This is the same warning you get when you upload a file through Dreamweaver. Basically, are you are you sure you want to do that? We'll click Yes and we can see that one item was uploaded and one folder was created because that Chapter 3 folder didn't exist on my remote site. I'll click OK.

And if I click on the Console view, I can actually see all of the FTP communication that happened with my remote server. So, if you are having problems with files not uploading correctly, you can look in the console and determine exactly what went wrong. Now you can also look at your remote site by going through the File view. If I click on the small arrow here next to my FTP server, I can see that Chapter 3 folder that I've uploaded and I can see the index.cfm file sitting on the remote server. I can also right-click here and take actions on that file, for example, if I want to delete it.

Let's go ahead and delete this file. It'll ask us, are we sure?, and you cannot undo this action. So make sure you really are sure. And I'll click Yes and that file has been removed. Now, one functionality that I've used a lot in Dreamweaver is actually synchronizing my local system up to my remote system. You can do that in CF Builder as well by right-clicking on any file or directory in your project, choose Synchronize and Synchronize again, and this brings up the Synchronization preview for your site.

I can see that I'm going to be synchronizing with server1 and here I can see my local system and my remote system. In this case, the index.cfm file is going to be created on server1. If I didn't want that file to be created, I can simply click the Skip check box and it will skip that file in the synchronization options. I do want this file to be uploaded so I'll uncheck that box. Under the View Options here, I can also determine how I want to see all of the resources that are going to be synchronized.

By default, it shows a flat view, but if I choose Tree, I can see the individual folders and all the files underneath those folders. I can also choose the Show Modification Dates. So, if I choose that option and I'll scroll over here to the right, I can see the local and remote times for files. Since this file isn't on the remote server, I don't have a remote time. Now down at the bottom, I can also choose to delete orphaned files. So, as an example, if I wanted any files not on the remote server to be deleted on my local system, I can check this box and you can see that the Chapter 3 index file is actually going to be deleted.

Let me scroll back over here so you can see that. So, since I don't want this file to be deleted, I'm going to uncheck that box. Now over here under Mode, if I expand this menu, I currently have it set to Sync, which means if the file is existed on the remote server, it will be downloaded and if a file existed on the local server, it would be uploaded. I can change this so that I'm only uploading or only downloading. I can also force all files up to the remote server even if they're older than the ones on the server and vice versa.

I can force all files down even if they're newer on my remote system. To continue through the dialog, the next section is the Cloud Team Comment. If you're using the cloud team functionality as part of Aptana, this will make sense to you and you can actually enter any comments in this dialog box. The last thing we'll take a look at is the Advanced Options. Under the Advanced Options, you can use a CRC check when files are less than a minute apart to make sure that they actually are different. This would take into account any slight time differences in between your local and remote server.

We can also have it do all of this work in the background for us so we can continue working on other things and we can set permissions on files if we're working on a remote server that supports that functionality. So, now I'm going to collapse the Advanced Options and since I'm all ready to go, I'll click Start Sync. ColdFusion Builder then uploads, deletes, overwrites, does whatever it needs to do to get everything at the sync and then tells me that everything is taken care of. So, I'll click Close, go back over here to my FTP site and we'll just expand this to make sure that it did indeed upload my index.cfm file.

So, you should now be able to hookup any project to an FTP site and get your new creations published quickly.

There are currently no FAQs about ColdFusion Builder Essential Training.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed ColdFusion Builder Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked