For Programmers: Free Programming Magazines  


Home > Archive > ASP > June 2007 > File size is incomplete by 20 bytes in a remote server when uploading









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author File size is incomplete by 20 bytes in a remote server when uploading
Orgil

2007-06-20, 3:56 am

Hi all,
I'm working on a ASP web site. The site has some pages for uploading
files to its server.
I'm working on my computer as a local server. When pages of the web
become ready, I copy the pages to a remote directory of a remote web
server .
When I upload files to the local server, any file is completely
uploaded. But when files are uploaded to a remote server, the size of
each file is 20 bytes less than the original file size and don't work
on the remote server.
Maybe, the difference of 20 bytes is not a constant size, but I see
the difference is constant.

What is happening? Please help me!
Any suggestion will by highly appreciated!

.... Orgil

Evertjan.

2007-06-20, 3:56 am

Orgil wrote on 20 jun 2007 in microsoft.public.inetserver.asp.general:

> I'm working on a ASP web site. The site has some pages for uploading
> files to its server.
> I'm working on my computer as a local server. When pages of the web
> become ready, I copy the pages to a remote directory of a remote web
> server .
> When I upload files to the local server, any file is completely
> uploaded. But when files are uploaded to a remote server, the size of
> each file is 20 bytes less than the original file size and don't work
> on the remote server.
> Maybe, the difference of 20 bytes is not a constant size, but I see
> the difference is constant.


Are you doing that upload by ASP code?

If so please show us thet [part] of the code.

> What is happening? Please help me!
> Any suggestion will by highly appreciated!


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com