Solved

FTP uploading 4 bytes short?

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Suggested Courses
Course of the Month8 days, 11 hours left to enroll

617 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