Node.js to JS : FTP

We have a node js proxy which accepts a file uploads to a ftp server using node js callouts. As per our organisations standards we are not allowed to use java/python/node js callouts. is there a way rewrite the same functionality using JS policy?

Please give some insights

1 1 172
1 REPLY 1

Nope

JS Callouts cannot perform FTP.

If you cannot use a nodejs target (or really, a Hosted Target because node targets are deprecated now), then you need to construct an external service that does the FTP wrangling (basically bridging from an HTTP call to an FTP call), and call that service from your proxy (with ServiceCallout maybe). Host your new FTP "bridge" service in Google App Engine. You can even use the same nodejs code that is already working.