|
Speaker: Michelle Petersen
Learn how to add a new FTP site to Aptana.
|
Welcome to Aptana. My name is Michelle, and I'm going to be demonstrating
how to create a new FTP or SFTP site today.
For my demonstration, I'm going to create an SFTP site that's going to connect
to the turboflix.com website, and I'm going to show you a second example that connects
to a folder within the turboflix.com website.
So to start off, I'm going to create a connection to turboflix.com. To do this,
I'm going to go to my file view, and right click on SFTP, and then select
"add new SFTP site". I give it a site name, in this case it's "turboflix", and you
can call this anything you want. The server is turboflix.com.
I'm not going to use a remote path in this example, and now I can just type my
username and password, and I'm going to click "OK" to create the connection.
Now that I've created the connection, I can expand the site, and I can browse any
of the folders within this site. Now this is great if I want to upload or synchronize
an entire website. But sometimes you might want to just synchronize or upload files
between a folder that's a subfolder on a website.
Now, to do this, you can create a remote path SFTP site, and I will show you how to
do that now.
I'm going to right click SFTP, and select "add new SFTP site", and in this case
we're going to connect the "foo" folder on turboflix. So I'm just going to call my
site "turboflix/foo", the server is still going to be turboflix.com, and for the
remote path, I'm going to have to type out the full path for this folder. It's
"usr/home/pcolton/foo". And I'll need to type in my username and password again,
and click "OK".
If I expand this, you can see that I get into this foo folder on turboflix; you
can see the folders "bar2", "functional", and "unit", and if I expand the roots
here and then expand the foo folder, you'll see "bar2", "functional", and "unit",
and see that I have access to all the same files and everything.
Now the next step in this process would be for me to actually create a connection
between one of these SFTP sites and the folder on my hard drive. That's going to be
another demonstration though. Thank you.
[End of Video]
|