How to check for a directory during FTP from WinNT to HP-UNIX

hi All,

I have to Ftp a Directory from the WinNt to Hp-Unix, before that i have to check wether the same directory is present on HP-Unix, if it is then i have to delete that,& do the fresh FTP.

The problem is that i have to implement this in a C Program,which i have to develop on WinNT Envt.

Hope U will Help me in this reagrd.

Please do not post technical questions in the non-technical forums.

I have moved this thread to a more appropriate place.

Thanks
ZB