File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ranch Office and the fly likes Upload file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Upload file" Watch "Upload file" New topic

Upload file

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 649
I am trying to upload files with several ext like .pdf. , docx, opt but it doesn´t allow me do it

In which format could I uploda the files?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Only images can be uploaded.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

We only allow images to be attached to posts (jpg, gif, png, etc.)

If you want to refer to other documents, you should upload them somewhere else, and link to them from here.

[Jess in Action][AskingGoodQuestions]
Don't get me started about those stupid light bulbs.
subject: Upload file
It's not a secret anymore!