I am ftp'ing files from an external server, then deleting them on the external server, and one file failed because there was a space in the filename. I changed my ftp delete command to have quotes around the filename.
ftpStream.WriteLine("delete """ & FileToDelete & """")
But, are there other characters that a user might use in their filename creation, that my program will still choke on? I don't have any control what those filenames might be.
(I put a tag of SSIS and SQL Server, because I'm creating the ftp task on the fly, from an SSIS pakcage. OS on both sides are Win XP)