How can I play video from FTP server to my website? - ftp

I am working on a project where the there is a requirement to play video from ftp server in the website. I am not sure how can I do this, but I am trying. This is a CodeIgniter project. What I am doing is that I am connecting to the ftp server using username and password, fetching the video file names and giving it to the video source which is like doing it for playing video using http protocol. I am not sure how to play the video from the source as it's all ftp link. Also there is authorization. I have done some research on that but I did not find anything useful. Can somebody please help?

You will not find a workable, cross-platform, secure solution that does not involve the browser accessing these videos via http(s) instead of FTP (say, with nginx or Apache). Also, if you're dealing with FTP and authentication, you will end up exposing the FTP account's password in URLs, which you absolutely do not want to do. Hope this helps.

Related

How FTP Server is Secure?

I am quite new in learning Networking and stuff related to Servers.
I have a question about FTP server security. Please forgive me if it is too simple.
I have signed up for FTP server and I uploaded a file. The URL of the file is
zanubvideos.ezyro.com/Shortest.mp4. And anyone, who have this URL can access my file anytime anywhere. And I think this has made my file insecure, Isn't it? Then how can we say that FTP is secure?
Please correct me if I am wrong.
install a Secure FTP Server on Windows using IIS. or
you can make FTP secure by using following methods :
1.Disable Anonymous Access
2.Enable Logging
3. Harden your ACLS.
4. Setup your FTP site as Blind Put
5.Enable Disk Quotas.
6.Use Logon Time Restrictions
7.Restrict Access by IP
8.Audit Logon Events
9.Enable Strong Password Requirement
10.Enable Account Lockout and Account Lockout Threshold
for more details visit Steps to a Secure FTP Server

FileZilla: My FileZilla does not have two panel layout and says "Warning: FTP over TLS is not enabled users cannot securely login"

I am brand new to using an FTP server. I just downloaded FileZilla and did nothing different, just kept hitting continue through the insallation and then opened it with the server 127.0.0.1 and the default port.
Now I get this:
Also when I see other people putting their files on the server they have a different looking application than I do. It is split and has two different sides in which they load the files to the server. I do not see how they got to that. I watch a beginners tutorial, but it did not really explain how to get to that part.
You have installed FileZilla server.
While you probably wanted FileZilla client.

Is direct transfer from Dropbox to FTP possible?

Is there a way, to setup directl file transfer from Dropbox/Google Drive/OneDrive... to FTP server. Is it "physically" possible or/and does any API and programming logic even allow that?
No, Dropbox does not offer an FTP interface or functionality like this. Dropbox offers an HTTP based API:
https://www.dropbox.com/developers/core
You could use that API to programmatically download content from Dropbox, and then upload that to an FTP server, but that would require a client in the middle to manage the download and upload.

Fine-Uploader FTP uploads

I just have to find out, as I'm quite new and I've been digging into this for many hours now, but I just need to make sure it's possible to use Fine-Uploader to upload files on a php site to a remote SFTP server.
To be specific, I have a webserver with a php site, and I need to have an upload function for graphic files that will go to a locally hosted SFTP server. If you can at least confirm for me that this is possible, I think I can figure out the rest with docs.
So far, I've downloaded the git for fine-uploader, installed npm, installed grunt, built the git repository, and now I believe I have to add server side php handlers.
Any help is GREATLY appreciated.
Thanks.
Fine Uploader only understands HTTP; not FTP. That being said, you could easily have Fine Uploader uploading files to an endpoint on your server, and then -- maybe after some server-side processing -- serve those files over (S)FTP -- or any other protocol -- if you would like.
Fine Uploader's primary goal is to normalize the file upload experience in all browsers. The pros of using this over an FTP client would be that any user that has a web browser should theoretically be able to upload files to your service. What your service does with those files afterwards (whether that be hosting them on an FTP server, transcoding multimedia files, etc) is completely up to you.
Hope this helps.

How to identify computer which I have redirected

I have the following problem to solve:
I few months ago I startet a website where you can watch youtube videos which aren't available in your country. Everythings works fine but now I want to offer a new method where I route all the requests directly over my server. Therefore I will later use a custom DNS-Server. Right now I use the hosts file for testing but I have really no idea how i can identify the user. I can promp the user user to login on a website but I will that it works systemwide so if he use a youtube downloader for example it have to work there either and not only in the browser where I could use a session system with cookies. I want a solution where the user can identify himself once in a time like a website or something like this but how can my server detect if this is a user which is logged in or if he is not?
There are several ways that this could be accomplished with varying levels of difficulty.
standard proxy server over https. Your service could simply be a proxy server and then every "client" would update their browser to point to your proxy server. You could also simplify this by using a proxy PAC file (proxy auto config).
An anonomyzing interface. The end user would not be able to use their standard search tools etc, instead they would have to use a web page much like what google translate does.
A browser plugin. There are already firefox plugins which do something similar to this. They change the way that the browser resolves DNS. This may be the best bet for you but would require development work.
An actual install utility that you have your users install on their machines which update the dns servers.

Resources