Redirect all file uploads to an off-premise storage solution: Which hooks to implement?

I am looking for a way to implement the following custom functionality into my module:
Implement a hook that is recognized by Drupal 7 that will capture any document upload (intended to be saved to /sites/default/files/*) and redirect the upload to my custom off-premise storage solution.

I looked at these hooks, but I did not find hook_file that addressed uploads:
http://api.drupal.org/api/search/7/hook_file

So, what I need to know is what hook(s) do need to be implemented, so that:

Can't Get Past Database Setup

I have tried versions 5.22, 6.17, and the latest version of 7.x. All of them have the same error. I cannot get the database configuration to work.

Gallery Assist:

Hey all

My first time trying to get a gallery working on a site, and I am having a few teething issues.

I am working from a mac pro using snow leopard.

My issue is: Every time I try to add an image to a trial gallery in my site (local host) it spits out this error:

file_url() and hook_file_server(): Still best approach for redirecting file uploads?

There is a 2008 Drupal article discussing file_url() and hook_file_server():
http://drupal.org/node/214934?mode=2&sort=2

If I wanted to create a Drupal module that redirects all file uploads to an outside storage service and all redirected files would be accessable via a URL, would these be the hooks I would need to implement?

Thanks

default folder in site directory

Okay, so I was following the installation instructions and I understood that I should not only change the permissions on the settings.php file, but also on the site directory. When I did that the default directory disappeared. Yes, disappeared. I tried uploading the default directory again, and now the server won´t let me . I tried creating a new folder, uploading the contents (i can do that), but when i rename the folder to default again, I get an error, saying no such file or directory exists. I imagine that as a result of this, the installation process will not proceed.

problem with user_external_login_register

It looks like user_external_login_register use incorrect assumptions about what will happen if you call user_load_by_name for none-existing user name. In modules/user/user.module:2087 we have following code:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x