FTP

FTP (File Transfer Protocol) is a standard network protocol used to transfer files between a client and server on a network. With VLC for iOS, you can stream media files from any FTP server seamlessly as long as your iPhone, and the FTP server is on the same network.

This documentation covers how to set up an FTP server on a Windows computer and stream media (audio and video) files from that server directly on VLC for iOS.

How to set up an FTP server on Windows

We will be using a free FTP solution called FileZilla to set up an FTP server on a Windows computer in this documentation.

Follow the steps below to set up an FTP server on a Windows computer.

  1. Download FileZilla and install it on your local machine.

  2. Once you open FileZilla on your local machine, a popup modal similar to the image below will be displayed on your screen. When you see this, click on Connect.

../../_images/ftp_home.PNG
  1. After connecting to the FTP solution, you will be required to add a User Account. To do this, click on Edit ‣ Users.

../../_images/add_user_account.png
  1. On the Users pane, click on Add.

../../_images/users_pane.PNG
  1. Enter the name of the user account and click OK.

../../_images/add_user_details.PNG
  1. Add a password for the user account and click on OK.

../../_images/add_password.PNG
  1. After you click on Ok, a popup modal with the message “You need to share at least one directory and set it as home directory”. Click on OK when you see this message to add a directory for the newly created user account.

  2. On the Users pane, click on the Add button as seen in the image below, select your preferred directory and click OK.

../../_images/directory.PNG
../../_images/choose_directory.PNG
  1. Finally, click on OK to complete the user account creation.

Note

If you encounter any errors regarding your local or external network, it’s because of your computer’s firewall settings. You can fix this issue by following the steps below:

  1. Search for Windows Defender Firewall on your computer.

  2. Click on Allow app or feature through Windows Defender Firewall.

../../_images/windows_defender_firewall.PNG
  1. Click on Change Settings ‣ Allow another app….

../../_images/change_settings.PNG
  1. Click on Browse, navigate to the FileZilla’s path and click on FileZilla Server ‣ Open.

../../_images/add_app_path.PNG
  1. Finally, click on Add.

../../_images/complete_add_a_app.PNG

How to stream media files from an FTP server

After setting up an FTP server, you can now stream media (video and audio) directly from VLC. Here’s how to stream media files from an FTP file server protocol:

  1. Open VLC on your iPhone and tap on Network.

../../_images/network_tab.jpeg
  1. Tap on Connect at the top right-corner of your mobile screen.

  2. On the connect pane, tap on FTP.

  3. Add the FTP server’s IP address, port, name of the user account, and password. To find the IP address of your computer, go to your terminal and type ipconfig. Your port will be displayed when you open FileZilla on your computer.

../../_images/connect_to_ftp.jpeg
  1. Finally, tap on Connect to access the media files on the FTP server.

If you followed the steps above correctly, all the media files you have access to on the FTP server would now be visible on VLC for iOS. Tap on your preferred media file and enjoy streaming.

../../_images/stream_media.jpeg