Modify

Opened 7 years ago

Last modified 7 years ago

#2361 new enhancement

Upload files to subdirectories inside htdocs

Reported by: Eduardo Albuquerque Owned by: pacopablo
Priority: normal Component: SiteUploadPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

I don't know if there is any issue about that, but I can upload any file to htdocs through SiteUploadPlugin, but when I try to enter in a subdirectory of it I receive the following error:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/var/lib/python-support/python2.5/trac/web/chrome.py", line 234, in process_request
    raise HTTPNotFound('File %s not found', filename)
HTTPException: 404 Not Found (404 Not Found (File %s not found))

Does SiteUploadPlugin couldn't upload files to htdocs subdirectories? If it can't do it, I think that is a good new feature.

Eduardo Albuquerque eduardo.albuquerque@…

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by pacopablo

  • Summary changed from Can't upload files to subdirectories inside htdocs to Upload files to subdirectories inside htdocs
  • Type changed from defect to enhancement

Indeed, there is no ability to handle subdirectories currently.

I agree, it would be a nice feature. I accept patches :)

I'll try to get around to it.

Add Comment

Modify Ticket

Action
as new The owner will remain pacopablo.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.