doesnt show directories

although i m able to upload the files in any directory on the server, on the / directory and within any directory but when i want to read any information regarding / directory or after changing the directory the inner files and directories it never shows anything


con.ReadDirectory();
MessageBox.Show(con.Directory.Count.ToString());

Did you check the return value of the ReadDirectory() function?

Please post the logfile of your connection too. You can specify it in the LogFile property.

Regards,
-Mat

it shows that success message i dont know the exact its sort of enumsuccess sorf ot message coz that is in my office, as if the result is succes then it enters the code in if condition but in it it shows the directory count to be 0 always in any case in any directory no matter how many directories there are, i cant understand y becuase if i m able to upload the file in any directory i mention then y not it show me the directory info

oh yes thanx to ALlah i got it, i changed its mode to passive, i mean i changed the value con.Passive=true; and con is the instance of
FTPConnectionMTA

dd