Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.3k views
in Java FTP by (160 points)
I am using edtftpjpro JAR file as an external library in Java/J2EE application and trying to upload files of different size mostly around 70MB to a designated ftp server. It was working fine before but few iamges were garbled and was not able to print it after upload is done. Now I have changed the code to use binary mode and now it is taking too long. I am not sure what is going on. When I tried to upload same file from a stand alone program on the same server it works fine. What could go wrong when I do the same thing from inside an EAR file deployed in an ENvironment? Please help.

2 Answers

0 votes
by (162k points)
Image files should be transferred as BINARY, and that is generally faster than ASCII. What protocol are you using? Any further info?
0 votes
by (160 points)
We are using tcp/ip to establish connection with ftp server.

When we uploaded 7 MB file from the deployed environment it took 25 minutes and a 67MB large file took forever and didn't work for us.

I don't think I have a log to provide you. I can get you the code if you want.

Categories

...