How to authenticate to Gmail with Rebex Secure Mail using OAuth 2.0

Google Account passwords are precious and it's not a good idea to share them with random third-party applications you don't fully trust. That's why Google has been promoting OAuth 2.0, an open authentication protocol that makes it possible for users to grant access to Gmail and other services to…

How to register your app for Gmail OAuth 2.0 authentication

To set up OAuth 2.0 for your application, you have to register your application at Google Developers Console (for free). When you register, you will get client ID and client secret that will identify your application and enable OAuth authentication. Steps to set up OAuth 2.0 for Gmail:…

Multi-file operations: Converting old API to new API

In March 2012, a new API for multi-file operations was released. The old API methods are PutFiles and GetFiles in Rebex FTP/Rebex SFTP (Ftp and Sftp objects). The new API methods are Upload and Download in Rebex FTP/Rebex SFTP (Ftp and Sftp objects). For more details, visit this…

HOWTO: Using FTP or SFTP in PowerShell

PowerShell - a powerful new scripting language and command shell from Microsoft - has many built-in commands. However, it lacks support for transferring files over FTP, FTP/SSL or SFTP. Luckily, PowerShell is based on .NET and can invoke methods of .NET classes. Let's see how to upload or download…