This project is read-only.

if (ftp.FileExists(fName + ".dsc")) doesn't seem to work

Nov 11, 2013 at 12:18 PM
I tried doing it like this all so.
string fName = Path.GetFileNameWithoutExtension(file.Name);

if (ftp.FileExists("/admin/" + Category + "/" + fName + ".dsc" ))
From what I saw and read, this is the right way to use this. No matter what I try it doesn't seem to work. Any one have some ideas or an idea why this doesn't work.

Nov 17, 2013 at 11:28 AM
Well this is what makes my day, when there's just one knows any thing. Makes me want to throw up.

It turned out to be once to set up the local directory and the current directory. You don't need to add the folder path in the ftp.FileExists(); method.