Take me back!! I want my CSS!! Click me to get back :)

×

Are you missing out on your dream job?

Enrollment for Skillcrush Blueprints JUST OPENED. Register today!

Click Here

FTP & SFTP

FTP & SFTP are two common ways to put your website files on a web server so that they can be accessed via the internet.

FTP & SFTP are two common ways to put your website files on a web server so that they can be accessed via the internet.

FTP stands for File Transfer Protocol and SFTP stands for Secure File Transfer Protocol. The only difference is that the secure one encrypts your files, username and password for greater security. If possible, we recommend that you use SFTP.

You can use FTP & SFTP for lots of different reasons—to share big folders of images with work colleagues or video files with a client. FTP is super useful because you can use it to share files that are many gigabytes in size.

But the way we want you to use FTP is to put your website files onto your web server.

Let’s say you bought www.mywebsite.com and you want to create a little PHP app that greets every visitor with the message:

“Hello! Welcome to my awesome website of awesomeness!”

After you buy the URL and a web hosting package, you need to obtain your FTP information. What you are looking for is:

  1. Whether you should use FTP or SFTP
  2. A URL for your web server (it often looks like ftp.yourwebsite.com OR ftp.hostgator.com)
  3. Your username, often something generated like yourwebsite240532
  4. Your FTP password

Then, what you do is download a free FTP application such as Fetch, FileZilla or Fugu, fill in the appropriate information in the appropriate spots, save the following code snippet into a file called index.php:

<?php echo "Hello! Welcome to my awesome website of awesomeness!" ?>

And drag and drop that file into the root folder of your FTP web server.

We’re in business baby! Your awesome website of awesomeness can now found by anyone at www.yourwebsite.com.

Your email address will not be published.

16 comments

  1. Kevin Noutsawo Replied

    No useless jabber, straight to the point.

    Congrats.

  2. Acme Gamers Replied

    It is a great articale, I got a great information from this articale

  3. msgajbhiye Replied

    Thanks .This is exactly what I was looking for .

  4. Skip Peters Replied

    I use Filezilla. However, the last time I used it, it covered my documents with Chinese symbols. Is it a virus?

    • Kelli Orrela Replied

      So sorry to hear about that! It is important to be careful to download software from reputable sources to avoid this kind of situation.

      • Renuka Replied

         Could you give some examples of reputable sources please? Raw newbies like me don’t have access to such info unfortunately nor know where to get it  frim unfortunately. Its a great big sea :-D

  5. MaatsScales_64 Replied

    Wow, I never knew this. I am a newbie in IT.

  6. Karline Segan Replied

    I am incredibly impressed with skillcrush. You have done an amazing job on this in every way.

  7. Tasha McGlashan Replied

    I use Filezilla, it looked intimidating at first, but once I got used to it, it became easier to use.

    • Daniel Replied

      It’s not quite as simple as SkillCrush makes is sound. Simply adding an S in front of FTP won’t do anything.  You have to be using a server that supports SFTP and then create a security cert that will be used in the encryption process.  Not too hard once you’ve done it a few times.  But not as easy as adding ‘S’.

Want more articles like this?

Sign up to get the most recent tech news, tips and career advice.