I am downloading files from an FTP server. Some of the file names have spaces in them but my RegEx doesn't recognise this.
Example:
-rw-r--r-- 1 ftp ftp 8613651 Apr 15 2011 Crystal Reports User Guide.pdf
Code:
string[] splitDownloadFile = Regex.Split(dFile, @"\s+");
string fMonth = splitDownloadFile[5];
string fDate = splitDownloadFile[6];
string fyear = splitDownloadFile[7];
string fName = splitDownloadFile[8];
Is it possible to set the string fName to be the rest of the string?