0
You can access my free account on the XPG hosting server, through Javascript?
I wonder if it is possible to make a connection with Javascript only with an FTP server(ftp://ftp.xpg.com.br), to "Send" files.
I need somehow while selecting the local file to already log in to FTP(ftp://ftp.xpg.com.br) then do "upload".
I know it does, with the advances of Ecmascript, Apis, DOM It already does some wonders that in the past was not possible, of the type to access files of the Computer.
Fortunately, this does not happen anymore, thanks to the Filesystem API. With the Filesystem API, a web application can create, read, browse and write to a sandbox section of the user’s local file system.
Node.js is a platform for developing network-based server-side applications using Javascript and the V8 Javascript Engine, that is, with Node.js we can create a variety of web applications using Javascript code only.
But my knowledge on Javascript subject and Libraries is particularly reasonable. That’s a polite way of saying don’t know where to start.
I found navigating inside Sopt - Upload a file with AJAX this is a quote on part of the subject mentioned here "Sending files"
It remains to be seen how log in to the account.
I’ve never tried, but I think with ajax it might be possible. See that there’s an excerpt that says "(including file and ftp)" in here.
– William Novak