Monthly Archives: July 2012

How to Change the Commands FtpWebRequest Sends

Below I discuss how I’ve worked around some limitations of the System.Net.FtpWebRequest to allow low-level customisation of the actual commands sent by the FtpWebRequest class. This allows resolution of a couple of issues, including: Customising the logon sequence (allowing support … Continue reading

8 Comments

FtpWebRequest is Broken

I’m going to take a brief break from helpful solutions to have a bit of a rant about FTP support in the .NET Framework. When all you have is hammers.. FTP as a protocol is pretty lousy, but its support … Continue reading

2 Comments

Detecting Duplicate XML data in SQL Server

Had the interesting problem today of trying to detect duplicate XML values in a SQL Server table (stored in a column of field type XML). I’m not the first to cover this issue: Matt Woodward has covered the simplest case … Continue reading

Comments

Zebras in System.Net.NetworkCredential

Ran into an interesting problem recently where some pretty straightforward FTP code was throwing a WebException on GetResponse when using correct server details. Looking a little further, the error indicated there was an Object reference not set to an instance … Continue reading

Comments