Transfer files from S3 to FTP - ruby

I'm trying to figure out if there is a way to write a ruby code that can copy file (200mb) from s3 bucket to ftp without having to pass data from s3 to server and than to ftp, is there a way to make the stream go directly to the ftp server?

You could use net-ssh to access the FTP server and then have it download from S3. Hope that helps!

Related

How to retrieve source code from Amazon Elastic Compute?

My application is hosted on Amazon Elastic Compute Cloud by the developer. I need to retrieve the source code for my web application. I am a new user so I need to know how can i download the source codes in my local host.
You need to log into the instance using SSH. If you're familiar with SSH then you can SCP from your local machine.
Of you're not familiar, you can use Systems Manager and transfer the data to S3 then download from there:
https://aws.amazon.com/premiumsupport/knowledge-center/systems-manager-ssh-vpc-resources/

vsftpd won't allow upload of files via ftps

I'm trying to set up an ftps server where I can upload files securely to a specific folder. I've set up the server and it will upload files just fine on regular, unsecure FTP. However, after I set up an SSL certificate and try to upload a file in FTP-SSL, it logs into the server just fine, but trying to upload a file causes my FTP client to hang without uploading any data until the connection times out. I've tried this on a couple of different systems both inside and outside my local network with the same result.

How to upload webpage on FTP server

I want to use ftp server hosting for my webpage.I need to download ftp server or
else is there any other way like default ftp server so i can use, suggest me.
Here is a service you can use:
https://www.godaddy.com/help/ftp-how-to-upload-files-96

FTP: Unable to connect to the remote server

I have a website that I use to upload images to the server and it eventually uploads them to an FTP site from the server. The problem is that it gets part of the way through the transfer - it transfers some of the files and then stops and gives the error
Unable to connect to the remote server
This only happens with 1 ftp server. I have a second ftp server on which this process works fine, so I doubt it's a code issue. What could the issue be?
thanks,
Sachin
Some FTP servers block flood requests, interrupting the connection. You should try using another FTP client and / or compress all the files, send to server and unzip them from the server using SSH or other method available.
Note: Recommend FileZilla client.

Sending file from S3 to third party FTP server using CloudFront

I have some files that are stored on S3.
On users request, I want to transfer them to FTP server of a third party site.
Amazon S3 does not support FTP/SFTP.
Currently I am downloading the file from S3 to my local server using S3 APIs and then transferring it to third party FTP server.
S3 --API--> Local --FTP--> Third party FTP
Now, instead I want to transfer the files directly to third party FTP server directly from S3 without downloading it to my local server.
S3 ---CloudFront or Other Service---> Third Party FTP
How can I do it using cloudfront or any other services?
Any Help will be appreciated.
Thanks in advance.
S3 only has APIs to get data to it and from it. It also has an API function to copy data between two buckets, but that's about it.
If you require to transfer data from S3 to other places and want to save the download from S3 to your local machine I suggest you start a t1.micro instance and put a script on it to download the files to it (you won't pay the bandwidth because between S3 and EC2 instance on the same region you don't pay anything and its significantly faster) and then upload from that instance to the remote 3rd party FTP site.

Resources