login about faq

There are two extreme side of problems faced by us.

1) In the "CKFtp2 C++" component, we are using the "SyncRemoteTree2" method to upload "files and folders" to the ftp server from a local folder.

In some cases ( may be where there is a problem of irregular connection / disconnection ) the "SyncRemoteTree2" method return us "success", when the upload of any file is even not started. We are trying to recheck by sending the same command again in "bPreviewOnly" mode. But the response is "success". The problem is not repeatable.

Is there any other way to confirm or compare the local files/folder with remote folder ?

2) On the second client ( OS is winxp, windows firewall off )

"SyncRemoteTree2" method returned true. The files are physically uploaded to the FTP server. We called the "SyncRemoteTree2" again (to overcome the 1st problem) to recheck the files existence in "bPreviewOnly" mode, We are getting the return as, all files pending for upload.

This problem is repeatable at client end, on another machine. Client does not have any other service provider to test. But it is not repeatable with us or with other clients.

In both the cases, there are no any connection or other errors, so I can not provide the error log also.

asked Sep 17 '12 at 10:29

sanjaysampat's gravatar image


Unfortunately, there is not enough information in your post to understand the cause of the problem. The only thing I can say for now is to (1) make sure you are using the very latest version of Chilkat, and (2) provide the contents of the LastErrorText property captured after calling SyncRemoteTree2.


answered Sep 17 '12 at 11:14

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 17 '12 at 10:29

Seen: 1,183 times

Last updated: Sep 17 '12 at 11:14

powered by OSQA