473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Uploading files to a web-server

Hi,

So here's the deal; I'm hosting several people on a virtual server
running Linux (White Box Enterprise), each of which has an internet
presence. (Apache webserver.) They're also web novices. I want to
develop a method by which they can upload photos to a folder on the
server from their client computer, without having to use FTP, creating
the folder if necessary. This would be accessed from the client-side
from a signed applet. How could this be done, short of granting
univeral write access in the folder? Is there a way (for instance)
that a user can access their remote account with the rights of their
local user? I.E., as if they'd logged in via FTP? This should run as
quietly as possible, not requiring HTML forms and the like.

I'm new to Apache programming, so I'd appreciate any links to
possibilities for doing this, or any projects that've already done it.

Thanks,

Walter Gildersleeve
Freiburg, Germany

Sep 20 '05 #1
6 1627
On 2005-09-20, su***********@easypeas.net <su***********@easypeas.net> wrote:
Hi,

So here's the deal; I'm hosting several people on a virtual server
running Linux (White Box Enterprise), each of which has an internet
presence. (Apache webserver.) They're also web novices. I want to
develop a method by which they can upload photos to a folder on the
server from their client computer, without having to use FTP, creating
the folder if necessary. This would be accessed from the client-side
from a signed applet. How could this be done, short of granting
univeral write access in the folder? Is there a way (for instance)
that a user can access their remote account with the rights of their
local user? I.E., as if they'd logged in via FTP? This should run as
quietly as possible, not requiring HTML forms and the like.


What's wrong with WebDAV?

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
Sep 20 '05 #2
Basically, I want to make the process as user-friendly (read: idiot
proof) as possible, so I want to avoid intermediate steps like WebDAV
or FTP. This would certainly work, and I'll use it if I can't find
anything else. (I suspect that I may end up using FTP via Java/Ant.)

Basically I want something that runs entirely in the background.
Ideally, the user would select a file from their computer using my
client application. The file would then be uploaded to the right
remote folder with the right permissions, and also might cause other
remote files to be change (say, a list of available images).

Sep 20 '05 #3

su***********@easypeas.net wrote:
Basically, I want to make the process as user-friendly (read: idiot
proof) as possible, so I want to avoid intermediate steps like WebDAV
or FTP. This would certainly work, and I'll use it if I can't find
anything else. (I suspect that I may end up using FTP via Java/Ant.)

Basically I want something that runs entirely in the background.
Ideally, the user would select a file from their computer using my
client application. The file would then be uploaded to the right
remote folder with the right permissions, and also might cause other
remote files to be change (say, a list of available images).


not sure what you're going to do with the files once they're on the
server (who is allowed to change/delete/see/whatever them), and how
many users you have to manage, but what comes to mind i s this:

just use 1 upload folder either outside the doc root or blocked by
..htaccess and handle the files through the php file system functions
(this script would have to take care of credentials also)

keep track of the files and their owners with a database

micha

Sep 21 '05 #4
On Tue, 20 Sep 2005 11:48:55 -0700, subscriptions wrote:

As the other poster said, have a look at webdav. The apache site should
have some info.
I don't know if this is what you're after, but have a look at:

gallery.menalto.com

It's an open source web based photo album organiser. I haven't used it,
so I can't comment on whether or not it's any good.

Dan

Hi,

So here's the deal; I'm hosting several people on a virtual server running
Linux (White Box Enterprise), each of which has an internet presence.
(Apache webserver.) They're also web novices. I want to develop a method
by which they can upload photos to a folder on the server from their
client computer, without having to use FTP, creating the folder if
necessary. This would be accessed from the client-side from a signed
applet. How could this be done, short of granting univeral write access
in the folder? Is there a way (for instance) that a user can access their
remote account with the rights of their local user? I.E., as if they'd
logged in via FTP? This should run as quietly as possible, not requiring
HTML forms and the like.

I'm new to Apache programming, so I'd appreciate any links to
possibilities for doing this, or any projects that've already done it.

Thanks,

Walter Gildersleeve
Freiburg, Germany


Sep 21 '05 #5
Dan,

Thanks for the Gallery tip...I've already installed it on my server and
set up accounts for my users. It's pretty much what I've been trying
to develop on my own for a while now.

Screw roll-your-own when there's such quality open-source material out
there!

Thanks again, Walter

Sep 22 '05 #6
su***********@easypeas.net wrote:
: Hi,

: How could this be done, short of granting
: univeral write access in the folder? Is there a way (for instance)
: that a user can access their remote account with the rights of their
: local user? I.E., as if they'd logged in via FTP?

chmod u+s or chmod g+s
--

This programmer available for rent.
Sep 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ayanwen | last post by:
I have problem in uploading files using ASP, can you give me some sample code about uploading using ASP? -- ayanwen ------------------------------------------------------------------------...
5
by: Ron Brennan | last post by:
Good afternoon. The entire task that I'm trying to achieve is to allow a user to browse and upload multiple files simultaneously, hiding the Browse button of <input> tags of type="file" and...
1
by: Phong Pham | last post by:
I'm creating a web page to upload files, but I'm having a problem uploading files larger than about 3.5 mb. Anything smaller than 3.5 mb is ok. If the file is larger, it doesn't generate an error,...
3
by: deko | last post by:
Newbie ASP.NET question: Now that I've created an ASP.NET site, how to I get it to my hosting provider? I've developed sites with Dreamweaver MX in the past - with Dreamweaver, it's very...
4
by: news microsoft | last post by:
Hello all, In my ASP.Net , C# web Application I have used the traditional upload code i.e. HTTP Method and it works fine for files and images up to 5 MB but once the size of file is more...
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
4
by: Kevin D. | last post by:
I have a web application that continues to "break" on me after a random amount of time. There doesn't appear to be a rhyme or reason, just out of nowhere some of my error handling kicks in and...
0
by: PerumalSamy | last post by:
Hi, I am getting following error while uploading my project in web. Description: An error occurred during the processing of a configuration file required to service this request. Please review...
2
by: Zoliq | last post by:
Hi, I have a serious problem. I'm currently developing an application in which the user should upload many files (600-700 xml files). I've searched the web for a while and so far I realized that...
2
by: =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
jodleren escribió: I haven't found the PHP manual page where such feature is documented but a few tests have shown that this behaviour changes depending on the charset parameter of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.