upload file through FTP
-
-
Hi All, I am using CFtpConnection to upload the files on to the ftp server. It works fine for upload the files on to the server. My problem is that how i find the progress of the file i.e. how much file uploaded on to the server. please help me.
raj1576 wrote:
My problem is that how i find the progress of the file
You could use
CInternetFile's Open and Read
method to write the file yourself, giving you the ability to easily calculate the progress. Also try using CInternetSession::OnStatusCallback[^] for status updates. -
raj1576 wrote:
My problem is that how i find the progress of the file
You could use
CInternetFile's Open and Read
method to write the file yourself, giving you the ability to easily calculate the progress. Also try using CInternetSession::OnStatusCallback[^] for status updates.Thanks for reply I tried Also Open and Read method but this is synchronous but I want asynchronous. so I use CFtpConnection. I also tried OnStatusCallback but I am not getting how I use this callback function.Pls help somithing for using this callback function.
-
Thanks for reply I tried Also Open and Read method but this is synchronous but I want asynchronous. so I use CFtpConnection. I also tried OnStatusCallback but I am not getting how I use this callback function.Pls help somithing for using this callback function.