Solved

FTP uploading 4 bytes short?

Posted on 2001-09-04
4
223 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Title # Comments Views Activity
Delphi 2 69
Working with hours 3 65
Delphi...Split view - idea? 1 88
Delphi: sending SMS on android platform 1 33
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…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
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…

840 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