Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

File size changing during transfer via FTP

Posted on 2009-07-10
8
283 Views
Last Modified: 2013-12-09
Hello,

Interesting situation here.

FileA is located in 2 directories (Dir1 & Dir2) and is IDENTICAL in size and content.

However,
FileA is dropping in size from 2341k to 2254 when it is FTP'd to server to Dir2 on the server.  Why??!

FileA is NOT being re-sized during FTP to Dir1

***The files which coexist with FIleA in Dir1 and Dir2 are NOT identical to eachother...close, but not exactly the same.

===
What I've tried so far:
-Renaming FileA on server to FileA_old then re-uploading local copy of FileA = same result.
-Deleting FileA on server to FileA_old then re-uploading local copy of FileA = same result.
-Deleting Dir1 then created a new Dir1 then upload the version of FileA which transferred correctly to Dir2 = same result!

0
Comment
Question by:tdunn71
  • 3
  • 3
  • 2
8 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 24826297
what OS are you using and wht is the type of file are these files?
0
 

Author Comment

by:tdunn71
ID: 24826537
omarfarid,

OS = WinXPpro
FTP = WinSCP
Filetype = HTML
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 24827013
can you give real example with actual file sizes
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:tdunn71
ID: 24827071
omarfarid:

Those ARE the real sizes.  

The file starts off in the local dir as 2341k then once its FTP'd it drops to 2254k.  Again, this only happens when its transferred into Dir2 and NOT Dir1.

Can other files in Dir2 dictate the size or content of a file coming in??  I don't see how - but I have to ask at this point.

-td
0
 
LVL 8

Assisted Solution

by:JT92677
JT92677 earned 500 total points
ID: 24828942
A long shot -- is the file transfer mode binary or ascii?

I'd be inclined to use a different FTP program as a check to see if the one you're using is handling the transfer correctly.

A second test would be to transfer a smaller file or larger file, something other than the one you're using to test.

What you're describing is clearly not even close to normal behavior.

0
 

Author Comment

by:tdunn71
ID: 24830895
JT,

The file is HTML/ASCII.

I will try a different FTP client.

All other files which are being transferred into this directory are staying intact and unchanged.

And I have NEVER seen this type of behavior!  Weird stuff.

-td
0
 
LVL 8

Accepted Solution

by:
JT92677 earned 500 total points
ID: 24831191
td,

If you use Binary even for an ASCII or formatted ASCII (HTML) it will use the filesize attribute to determine the end of the file, instead of looking at ^Z (Control-Z) which is the "end of file" when interpreted as an ASCII or text type file.

You could also use the free FireFTP "add on" for Mozilla Firefox as a test FTP client. I've used it inside my own network to test the FTP directories on my FTP server signing in as different users.

It's a nice FTP client worth having in Firefox for other FTP transfers as well.

Jeff
0
 
LVL 8

Expert Comment

by:JT92677
ID: 24884567
td - what did you finally do?

Try different FTP program?
Determine it was something about the file itself?
Gave up? Never got it to work?

Jeff

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ISP Change 14 63
Setting up static routes to  sonicwll 4 70
Receiving wifi on an underground station 22 88
Hyper-V 2012 Reverse replication of only one server 7 21
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question