Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

FTP uploading 4 bytes short?


I'm using the TNMFTP to upload files to linux and Windows servers. Everything is working fine except I noticed that when uploading to linux the files are 4 bytes short which means its corrupted. (I verified this by viewing it with the browser, and the image is unviewable). I then used wsftp and it uploaded fine. For example, a file that is 92,796 bytes uploads at 92,792 bytes instead of 92,796. (?)  I'm not sure if it is all "non" Windows servers this happens on, but I can only recreate this on the linux or unix server, I can't recreate it on Windows.  Has anyone ever seen this happen?  I'm using the vendor = NMOS_AUTO which should work (?).

            Thanks
0
jexd99
Asked:
jexd99
  • 2
  • 2
1 Solution
 
MotazCommented:
There are many bugs with NetMasters components specially NMFTP, I remmebmered that it addes some bytes any downloaded file, so that I replace it with Indy components, you can download it from:

www.nevrona.com/indy 

Delphi 6 and Kylix now supports Indy

Motaz
0
 
jexd99Author Commented:

This component is limited in features, alot of the stuff I have written already are not even properties or events that can be used on Indy (at least I can't find them if they are).  Plus I really don't want to rewrite most of what I've done.  I may be stuck if this is a borland bug in their component.  Does anyone know if D6 fixes this bug?
0
 
MotazCommented:
There are two components of FTP in Indy 8 components: FTP and Trevial FTP, the first one is the advanced.

In Delphi 6 I found this:

NMFTP version 5.3.0 Build 1055 Date 5/26/99

I don't think that they solve thier problems, btw, Fast Net is not Borland's components, it is for NetMaster's company, and I think they stop supporting it.


0
 
jexd99Author Commented:
I guess I'm stuck with this one :-(  I wanted to keep all the features and current code, but it looks like I'll have to switch componenets.  Thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now