Solved

FTP uploading 4 bytes short?

Posted on 2001-09-04
4
219 Views
Last Modified: 2007-12-19

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
Comment
Question by:jexd99
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
Motaz earned 100 total points
ID: 6455550
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
 

Author Comment

by:jexd99
ID: 6459554

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
 
LVL 7

Expert Comment

by:Motaz
ID: 6460165
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
 

Author Comment

by:jexd99
ID: 6472315
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now