HELP!! in FTP Sessions, how to refresh directory listing?

L

Larry

HELP!! in FTP Sessions, how to refresh directory listing?

I read a document about FTP Sessions in MSDN.

http://msdn2.microsoft.com/en-us/library/aa384180.aspx

In the document, if you upload a file to FTP server, delete or rename
a file on FTP server, you need to remember to refresh directory
listing.

In the sample source code there is just a comment: // Remember to
refresh directory listing. But how to do it in C++? Just send a LIST
ftp command or use FtpFileFinder to enumerate the files on FTP server?

Laurence
 
D

David Wilkinson

Larry said:
HELP!! in FTP Sessions, how to refresh directory listing?

I read a document about FTP Sessions in MSDN.

http://msdn2.microsoft.com/en-us/library/aa384180.aspx

In the document, if you upload a file to FTP server, delete or rename
a file on FTP server, you need to remember to refresh directory
listing.

In the sample source code there is just a comment: // Remember to
refresh directory listing. But how to do it in C++? Just send a LIST
ftp command or use FtpFileFinder to enumerate the files on FTP server?

Larry:

Please don't multipost. This is not a .net question so this is the wrong
group.

If it is an MFC question use the vc.mfc group; otherwise use the
vc.language group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top