my dog learned polymorphism
The moose likes Java in General and the fly likes exe file in server side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "exe file in server side" Watch "exe file in server side" New topic

exe file in server side

Pauline Priyadharshini

Joined: Jan 21, 2012
Posts: 1
If I need to upload an exe file in my server, in which folder should I upload? I am using Netbeans 6.8. Please do reply
Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 607

any folder you like!!
If you don't want user to access the uploaded files directly, you may want to write it to any sub folder of WEB-INF.
You could also write it out anywhere outside the web-app, its a file - you could copy it anywhere you like (assuming you have the permission to write to that directory)

Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
I agree. Here's the link:
subject: exe file in server side
It's not a secret anymore!