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.
Download FileZilla and install it on your local machine.
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.
After connecting to the FTP solution, you will be required to add a User Account. To do this, click on
.
On the Users pane, click on Add.
Enter the name of the user account and click OK.
Add a password for the user account and click on OK.
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.
On the Users pane, click on the Add button as seen in the image below, select your preferred directory and click OK.
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:
Search for Windows Defender Firewall on your computer.
Click on Allow app or feature through Windows Defender Firewall.
Click on
.
Click on Browse, navigate to the FileZilla’s path and click on
Finally, click on Add.
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:
Open VLC on your iPhone and tap on Network.
Tap on Connect at the top right-corner of your mobile screen.
On the connect pane, tap on FTP.
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.
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.