Page 1 of 1

.NET functions to encrypt and decrypt files in a folder

Posted: Mon Jan 16, 2017 7:01 pm
by sdocherty
Hi,

Apologies if this exists somewhere else on the forum but I am struggling to find the information...

I would like to develop a .NET Windows service that can decrypt or encrypt files in a folder.
The service will be automated and unattended and will move the files after encrypting or decrypting.

Which product can I use for this?

Thanks,
Steven.

Re: .NET functions to encrypt and decrypt files in a folder

Posted: Tue Jan 17, 2017 10:04 am
by Support_Rick
GoAnywhere MFT does this for you automatically by designating any folder (that you have permissions to) as an encrypted folder. Then, any file put into or pulled from the folder through GAMFT is automatically encrypted when placed or decrypted when pulled.

Re: .NET functions to encrypt and decrypt files in a folder

Posted: Wed Jan 18, 2017 1:24 am
by sdocherty
Thanks Rick,

So, we need to purchase GAMFT and it's not part of the free products?
Then next steps would be to install GAMFT on the server and configure which folder is the encrypted?

Then how do I use my .NET service to place the files in that folder 'through' GAMFT and vice-versa read files out of there as unencrypted through GAMFT?
Is there documentation and samples on how that is done in .NET that I can look at?

Thanks,
Steven.

Re: .NET functions to encrypt and decrypt files in a folder

Posted: Wed Jan 18, 2017 8:51 am
by Support_Rick
GAMFT has an API interface so it can be called (trigger file movements) from external sources (programs, CLP, RPG, C#, .NET, etc).

You define the file movement through a GAMFT Project (Copy, Encrypt, Decrypt, SFTP/FTP, etc) then trigger the movement from a Schedule, Monitor or external source, etc.

Look through the product info and it will give you more information about it. You can also go to our Customer Portal - My.GoAnywhere.com - and download a trial (full blown) version to evaluate for 30 days. All the documentation is included within the product as well as available from the Customer Portal.

Re: .NET functions to encrypt and decrypt files in a folder

Posted: Fri Jan 20, 2017 1:48 am
by sdocherty
Thanks Rick,

I can see that I could create a very small Project that decrypts files and another one that encrypts files.
Also that I could just add that project to a Schedule within MFT.

Are those two functions available as part of the Free License described on this page?: https://www.goanywhere.com/managed-file ... re/pricing

Thanks,
Steven.

Re: .NET functions to encrypt and decrypt files in a folder

Posted: Fri Jan 20, 2017 9:35 am
by Support_Rick
Steven,

The Free version is just a plain FTP Server/Client. All accessible tasks in the projects are only related to that usage. Encrypting/Decrypting and Zip/Unzip, etc ... all of the functionality outside of basic FTP isn't available without purchase.