This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Sockets and Internet Protocols and the fly likes correct file names are not showing properly while uploading through FTP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "correct file names are not showing properly while uploading through FTP?" Watch "correct file names are not showing properly while uploading through FTP?" New topic
Author

correct file names are not showing properly while uploading through FTP?

prem kanna
Greenhorn

Joined: Sep 10, 2008
Posts: 26
Hi all,

I am using commons-net-1.4.1.jar for uploading files to server. Its working fine. In some cases while we are uploading files the files are moving properly but the file name are showing like CHAPTE~1.DOC, CHAPTE~2.DOC, CHAPTE~3.DOC, CHAPTE~4.DOC, but the original file names are in local system is Chapter 3 Integration – Trapezoidal and Simpson’s Rules.doc, Chapter 4 Exponential and Logarithmic Functions – Area Applications.doc, Chapter 4 Exponential and Logarithmic Functions – Differentiate Hence Integrate.doc, Chapter 5 Trigonometric Functions – Dynamic Graphs.doc.

In server the files are opening properly. Can any one please give some suggestion to rectify this problem? Here I have attached code.

Michael Parmeley
Greenhorn

Joined: Aug 20, 2004
Posts: 14
Looks like the machine you are uploading too doesn't support long file names. Looks like it only supports 8+3 names.
 
Consider Paul's rocket mass heater.
 
subject: correct file names are not showing properly while uploading through FTP?