ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

suggestion: "SFTP Client" codeunit for NAV2018

Open SteveKrisjanovsD365 opened this issue 8 years ago • 5 comments

With filesystem access off-limits for AL 2.0 for now, this poses a big problem upgrading clients who have legacy customizations that transfer files to/from NAV and third party customers/vendors/banks/etc. as well as transfer files to/from third party software (e.g. Barcode label automation, Shipping Software, etc).

Many of these third party solutions are not able to integrate via http rest and rely on file transfers, making them nearly impossible to use from an extension.

Proposal:

Can Microsoft create an "SFTP Client" Codeunit in NAV? Sample functionality includes (but not limited to) login/logout, list remote files, download a file, upload a file, delete a remote file, etc (if local client/server file system access is a security concern then use instream/outstream/memorystream when possible).

This would really open up NAV's integration capability.

SteveKrisjanovsD365 avatar Jan 25 '18 19:01 SteveKrisjanovsD365

+1. We have used a .NET SFTP add-in in the past, but that would not be an option in AL either. This would be very useful.

bwdeleeuw avatar Jan 25 '18 19:01 bwdeleeuw

There is a project for an open AL library around: https://github.com/Microsoft/cal-open-library

You can create your own wrapper for ftp/sftp and add it to that library. If Microsoft accepts it, it will be added to the core product.

mrabus avatar Jan 26 '18 13:01 mrabus

Thanks for the tip @mrabus

SteveKrisjanovsD365 avatar Jan 26 '18 16:01 SteveKrisjanovsD365

Following..

r4luk avatar Feb 13 '18 15:02 r4luk

@mrabus, spot on! Please create the needed wrappers for us to add to the product.

JesperSchulz avatar Nov 07 '18 11:11 JesperSchulz