Skip to content Skip to sidebar Skip to footer

Does Jquery Support Ftp Request?

I am developing a web project and I would like to add a functionality like Fire FTP plugin in Firefox. So I want to send FTP requests using jQuery to read the local drive of the co

Solution 1:

JQuery is JavaScript, and Javascript only says to browser what to do. Javascript doesn't make HTTP requests, browser does.

FTP = File Transfer Protocol, so it's certainly for transferring files. Javascript has not been created for modifying files, so it's a bit impossible.

You can redirect user to URI ftp:..., but only if browser supports FTP, or use server-side scripts

Solution 2:

No, you can't do it in jQuery only. jQuery is a Javascript client language and you don't have the ability to manage (or even explore) files and directories on your server with it. BUT you might consider using some plugins which require using server side code (PHP, ASP.net, Python etc). If you do need to manage files on your server, use one of those (googled them up, but never tried them):

http://www.solitude.dk/filethingie/

https://addons.mozilla.org/en-US/firefox/addon/fireftp/

http://www.gleamtech.com/products/filevista/web-file-manager

Good luck! I hope that helped.

Post a Comment for "Does Jquery Support Ftp Request?"