Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to put a file to FTP server ? BASH
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How to put a file to FTP server ? BASH

SadySady Member

Hello,

I've mixed some of scripts & at last made something which can backup all of databases & files etc (Just learning).

I've tried that with rsync on another server & all going well with rsync but i want to get it working with FTP (I've 2x100GB FTP account from online.net lying around) but not sure why it's not working.



# ftp -n -i dedibackup-dc2.online.net

Trying 62.210.17.4...

Connected to dedibackup-dc2.online.net (62.210.17.4).

220 server ready - login please

ftp> user $USERNAME $PASSWORD

331 password required

230 login accepted

ftp> put aa.sh /si.net/aa.sh

local: aa.sh remote: /si.net/aa.sh

227 Entering Passive Mode (62,210,17,9,54,81)

ftp: connect: Connection timed out



Is there anyone who can help with it ? Seems like online.net doesn't have passive mode enabled, is there any way to bypass it ?

Comments

This discussion has been closed.