You are here

Blog Archive

Simple FTP File Download/Upload (C#)

Recently, I was working on a solution which required a scheduled download of a hosted file. There are a few samples floating around online of how to do an FTP download/upload, but I figured I would share what I've been using as it is incredibly simple and does the job perfectly.

We utilize WebClient and NetworkCredential, so the System.Net namespace is required. Then, we just supply credentials and call either the DownloadFile() or UploadFile() method which require the source and destination folders - that's it! Below are examples of each.


CRM 2016 Quick Create Forms: How to Re-enable the Save Button

During the Quick Create Form’s save event, let’s say you have some JavaScript validation code and you want to use the fully-supported “preventDefault” to cancel the save if validation fails. In CRM 2016, you’ll notice that the Save button remains disabled, leaving the user no choice but to close the form and start over again. This bug means that you have to either set up the Quick Create in such a way that validation is not necessary or you’ll need to handle all validation during the “On Change” events, rather than “On Save.”

Valuing Marketing Automation's Investment

Valuing Marketing Automation's Investment

As companies look to better understand their sales prospects and current customers, they often turn their focus on to their sales and marketing funnels. How to generate more leads, how to score leads more accurately and marketing personalization are frequent topics of discussion and fine-tuning. The goal is easily described, but can be challenging to meet: how to turn prospects into customers and customers into brand advocates. One solution to this end is marketing automation.

How to Grow Your Business with Marketing Automation

How to Grow Your Business with Marketing Automation

Marketing automation helps you achieve tasks with minimal effort. It gives business owners opportunities to better manage their relationships with known prospects and current or even inactive customers. Implementing an automated marketing system allows your company to consistently and effectively communicate with a customer and prospect database based on their individual interests and past interactions. 

ADX Portal: Dynamic Behaviors in Entity Forms

ADX provides a powerful way to render CRM forms directly on websites. One thing that is not being supported by ADX is the application of business rules, especially the ones that trigger real time changes in the UI. One example is the dynamic appearance/disappearance of UI elements based on the value of a form field. The lack of support makes ADX forms relatively static when we use them out of the box. 

Marketing Automation and the Sales Connection

Marketing Automation and the Sales Connection

Marketing automation will add considerable value to a sales rep’s process. Sales professionals can tailor their activities to be more relevant to the buyer’s interest, which means sales teams can convert more leads to revenue. Introducing a marketing automation system will also allow your sales team to focus their time more efficiently, leaving the slower prospects to marketing automation’s lead nurturing capabilities. 

Earn the Nickname "Eagle Eye!"

Thorough testing is key to delivering quality software to our customers. In the software development sphere, we invest time and money to create test plans, suites, cases and scripts. Within these documents, we note the details that need to be verified based on the system features being delivered, providing a great cornerstone for our testing efforts.

Beyond the planning and the documents, though, great testing requires a tester who will:

Filtering a List Using Another List with LINQ

Usually, when filtering data from a database or a collection, you are comparing one or two values to a list of many. However, with a recent application, I found myself needing to filter a list of items using another list. The movies in Figure 1 below provides a good example.

Figure 1. Sample Movie Listing