• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like the machine you are uploading too doesn't support long file names. Looks like it only supports 8+3 names.
 
We noticed he had no friends. So we gave him this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic