how to trigger FTP??

guys, much appreciate if can help in this.

i wish to FTP a file from Linux to Window using javascript.
anyone can provide sample code in this??

Thanks in advance!

Could you provide more details as to what you’d like to accomplish?

Maybe look at How to Automate FTP: Programming with the File Transport Protocol Macros |

I doubt if you can do this with JS alone due to the security policies on JS within browsers. However you might be able to ask the user if they would like to invoke an external FTP program.