No one may be able to answer this, and it at least to me sounds like an incredibly stupid question, but here goes. My program gets a list of files from a remote ftp site, it saves and sorts this file list. At some later point in the program, it may be necessary to see what files have been added or deleted from the ftp sight from the original list. So the program compares the file names to a stored list, if something is changed then an update occurs. If nothing changes then no update. I use the statement
If Not client.FileExists(file_name) Then
okay = False
End If
The issue is when a filename has a space in it. Example Test = Test, compares fine for a file name and the program goes merrily along. T est = T est, even though it should compare fine, this always gets flagged and the program thinks something has changed unnecessarily rebuilding my list. Does anyone have any thoughts about this????