Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.1k views
in Java FTP by (240 points)
Hello! I've got a problem about ASCII mode upload a text file.
The file can succesful uploaded, but i checked the file size that is different.
I found some character "0D" (normal line with 0D0A, but some alnormal line with 0D0D0A) was added on some line by using HEX editor.

I'm using edtftpj-1.5.2

Any idea?

6 Answers

0 votes
by (162k points)
what platforms are you transferring between?
0 votes
by (240 points)
Thanks for reply!
my platform are listed below

Windows 2000/XP --edtftpj--> Windows Server 2000 sp4 with SFU
0 votes
by (162k points)
If using Windows -> Windows, binary transfers will work fine.

We'll look into why this might be happening ...
0 votes
by (240 points)
Thx Reply!

I tried binary mode transfer and found OK!

Just wonder if the packet is used for mulit-platform (Windows <--> UNIX / LINUX / WINDOWS / AIX)
am i need to do any other thing to make it work?

As i really have case to upload file from windows to UNIX / AIX.

THank again!
0 votes
by (240 points)
For some reason, i have to upload the files in ASCII mode.

Just find something

It seems that if the x0Dx0A character is placed exactly on the boundary FF-00 (e.g. x7FFF-x8000, x73FFF-x74000, x87FFF-x88000, xBFFFF-xC0000, xDBFFF-xDC000 in the attached file), an extra x0D character will be inserted.
0 votes
by (162k points)
Ok, thanks. That's very useful. We'll check it out.

For some reason, i have to upload the files in ASCII mode.

Just find something

It seems that if the x0Dx0A character is placed exactly on the boundary FF-00 (e.g. x7FFF-x8000, x73FFF-x74000, x87FFF-x88000, xBFFFF-xC0000, xDBFFF-xDC000 in the attached file), an extra x0D character will be inserted.

Categories

...