Jump to content

Recommended Posts

Posted

When I upload files using Dreamweaver, it reduces the file size. I only noticed this because, sometimes it won't upload my common.js file correctly. I have to use WS FTP to get get it to upload correctly. Any idea what causes this? It reduces the file size of every file, but most other files appear to work correctly.

Posted

Not sure if this is the correct answer or not... file "sizes" are sometimes interpreted differently depending on the program you are using. They do not round the numbers the same way.

 

For example looking at one of my index files on my hard drive using Windows Explorer (XP) it reports the file size as "6K". Looking at this file in WS-FTP online and offline its reported as 5406. When I go thru cpanel and look at it from File Manager its reported as "5K".

 

So there are three different "sizes" for the exact same file...but there is actually no difference, they are exactly the same just the size is different because of the way the program calculates the size. One uses the actual bytesize, one may use the correct kilobyte=1024 and the other may use kilobyte=1000. Or it maybe a simple rounding issue with one rounding up and one rounding down (or not rounding at all).

 

I would think there is not an issue with dreamweaver, but I could be wrong. :)

Posted

I think that Madmanmcp is correct (i.e. a rounding issue).

 

Having that said though, I am an avid user of Dreamweaver and I have never seen a difference :lol:

  • 4 weeks later...
Posted

Is it possible the file is being uploaded in BINARY mode when it should be ASCII or the other way around?

 

Do you have all of your extensions defined to use the AUTO feature?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...