Solved

FTP uploading 4 bytes short?

Posted on 2001-09-04
4
225 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
[X]
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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 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