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.
Related
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.
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.
I am using an ec2 instance to convert some videos online. Is it possible to make that converted file available for public download? Like I could send a link to my client where they could download the videos?
Otherwise I would have to download the file myself, reupload to mega.co.nz or something and send the link to the client.
Thank you
In order to make the file available, you can install a web server or FTP server. Since I don't know which operating system you are using, I'm including guides on how to install one of those servers in Debian Linux - this will probably also work for you if you're using Ubuntu.
I have a .Net web application that is front-ending the ESB in order to create Proxies programmatically.
I am trying to push a xml proxy into the ESB path: repository/deployment/server/synapse-configs/default/proxy-services/ via FTP but it seems not to work.
I was trying this connection: ftp://admin:admin#localhost:9443/repository/deployment/server/synapse-configs/default/proxy-services/
There is any other way to upload my XML in the ESB? many thanks
EDIT: I know that one answer could be "yes, you can do that by using admin services", but that didn't work for me due to lack of documentation regarding adding proxies via admin services. So I am looking at alternatives like FTP, because I know that placing the xml directly in the Repo folder will work, the problem is accessing the folder.
As I understand, you are trying to use FTP to upload a file to a path. This doesn't involve invoking WSO2 ESB, does it?
Based on above understanding, it seems your port specified in FTP address is incorrect. I think you should use the port of the FTP server you are running in your machine. Unless you haven't edit its config, it should be 21. After this change, you need to provide absolute path instead of relative path /repository/...
Think about it as just another FTP upload. ESB automatically deploy any file that comes to /repository/deployment/server/synapse-configs/default/proxy-services/ regardless of how it came there.
Hope this helps!
I was looking for a proper way to add a proxy to the ESB, possibly using ws-admin services, but that wasn't really straightforward: problem with repositories, libraries etc...
I ended up with a quick a dirty solution: secure java ftp to the server (with jsch )in the proper folder of the proxies.
Thanks for your help anyway
You could create your proxy within the Web Interface of WSO2 (use a Web Browser):
localhost:9443/carbon/admin/login.jsp
Or add the proxy by just copying the file
mv myProxy.xml MY_WSO2/repository/deployment/server/synapse-configs/default/proxy-services/myProxy.xml
An FTP connection to localhost:9443 will not work. Otherwise explain why you need to use FTP?
I'm new to Joomla and trying to help on a project.
I'm trying to switch host providers for my live Joomla Website.
I've successfully connected to FTP within Dreamweaver and the sites files are not displaying. Locally, I see the folder 'htdcos' with only 'contact.php' in it and only '.ftpquota' on the remote end. How can I access the websites files to back them to my hard drive to re-upload them to the new host?
Use http://filezilla-project.org/download.php
Use a FTP such as FileZilla http://filezilla-project.org/download.php Dreamweaver is not that much compatible with Joomla's architecture.
Most of the web hosting companies, provides a back-end (CPanel) where you can zip the website root folder and upload it to the site and extract them, that way its very easy to deploy your joomla website.