login about faq

This post is to describe a recent problem and the resolution.

The Problem:

When trying to FTP upload a file, Chilkat was uploading only 100K, but the file size as reported by Windows Explorer was 6MB.

The Resolution:

When Chilkat reports the size of a local file within the LastErrorText, it is reporting the results obtained from the typical/standard system function call to get a file size. Chilkat claims that there really cannot be a "bug" because it must believe what the system call returns. Possible errors include (1) the file being actively written while the upload is occurring, or (2) the wrong path being passed to Chilkat.

In this particular case, neither (1) nor (2) was occurring. This is what the user found:

"There were two separate issues – on two computers McAfee Enterprise Edition was an older version and for some reason once updated it then solved the problem."

"And on other one where I was seeing a different file size in explorer – ran disk check and it found and fixed several errors – after reboot and disk check the file then showed the size it should be which was the size you said."

asked Apr 15 at 11:56

chilkat's gravatar image

chilkat ♦♦

Be the first one to answer this question!
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: Apr 15 at 11:56

Seen: 400 times

Last updated: Apr 15 at 11:56

powered by OSQA