Does this module upload files directly to remote servers (eg Amazon S3), or does it upload to a local tmp directory, then copy the file to the remote server? In other words, if I set a file field to use S3 storage, is my local server ever touched?

Comments

jbrown’s picture

The files are initially stored in container specified as the intial container in the class.

If the intial container is not actually present in the class then the files will be deleted from the initial container once they have been successfully propagated to all containers that are in the class.

rogical’s picture

Status:Active» Fixed

It definitely yes when you use cloud storage or FTP.

rogical’s picture

Recently, I found it's wrong.

Although I'm using FTP for initial container, it seems still will upload to local directory first.

d

The directory shows like this just after saving node.
dd

After refresh the page, it turns to.
dd

jbrown’s picture

URLs that take the form system/storage/serve/ are actually generator URLs - the file does not exist yet.

rogical’s picture

You mean it's just some binary in temp or cache?

jbrown’s picture

no - the file doesn't exist yet so there can't be a url that points to it. the generator url creates the file in the initial container of the class and then issues an http redirect to the file.

rogical’s picture

Status:Active» Closed (won't fix)