derrickchoi / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

Caching/copying files to host default? #176

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Detailed description of support request:

Hi, I have installed the latest s3fs on a ubuntu 10.10 maverick 32 bits ami 
hosted in EC2. On the server I also have vsftpd running for 
uploading/downloading files through ftp.

It works great with one problem; when uploading through ftp directly to a s3 
mounted directory, I get VERY fast performance, and it works flawlessly for all 
my tested files (also large files of several gigs), but when downloading 
throught FTP from a S3 mapped folder, it apears that s3fs first copies the file 
from S3 to the host, and then serves it to me through FTP.

Is this correct? Is there any way of serving the file directly from the S3 
katalog without first copying it to the host ?

Regards, 
Eyvind B

===================================================================
The following information is very important in order to help us to help
you.  Omission of the following details may delay your support request or
receive no attention at all.
===================================================================
Version of s3fs being used (s3fs --version): 1.40

Version of fuse being used (pkg-config --modversion fuse): latest

System information (uname -a):

Distro (cat /etc/issue): ubuntu 10.10 

s3fs command line used (if applicable):

/etc/fstab entry (if applicable):

s3fs syslog messages (grep s3fs /var/log/syslog):

Original issue reported on code.google.com by ebaad...@gmail.com on 25 Mar 2011 at 3:13

GoogleCodeExporter commented 8 years ago
Hi Eyvind,

Unfortunately this isn't possible with FTP, there is a protocol for this called 
FXP. S3fs is essentially just a virtual disk on your server, so when you 
request a file and it's not available in the s3fs cache, it's forced to 
download the file from s3 first.

Original comment by ben.lema...@gmail.com on 25 Mar 2011 at 4:11

GoogleCodeExporter commented 8 years ago
You can also access the files directly through HTTP too -- no need to go 
through FTP.

Original comment by dmoore4...@gmail.com on 25 Mar 2011 at 4:32