This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Ranch Office and the fly likes What type files for upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "What type files for upload" Watch "What type files for upload" New topic

What type files for upload

Paul Branigan

Joined: Apr 27, 2013
Posts: 1

I have java files i would like to upload with some questions but each time I attach and submit it tells me I cand submit this type of files. What type are accepted for upload

Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11778

For Java (and most types of source code) you can insert small sections of code encased within [code] and [/code] UBB Code Tags

For example, I have enclosed the following code inside [code tags:

As you can see, this gives line numbers, syntax highlighting, and other cool features. If you are still not sure how I did that, click the Quote button next to my post, and you should be able to see what I did.

As far as file types for upload - we only really allow images. When we allowed plain text files and zip files, we found that people were uploading entire class projects and expecting other users to debug thousands of lines of code.

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
I agree. Here's the link:
subject: What type files for upload
It's not a secret anymore!