Why not use scp instead with auth keys.  Like Powercode :)

Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
On Apr 23, 2012 4:10 PM, "Simon Westlake" <[email protected]> wrote:

> I was previously backing up all our Mikrotik routers in RANCID but it was
> difficult for some techs to work with - the files wouldn't always paste
> back in correctly and randomly had capitalization errors, etc, that would
> cause issues. So I decided to build an FTP system to back up the binary
> configuration files instead.
>
> I have something in the scheduler that backs up the current config to
> 'today.backup'. I then have a script on a remote server that FTPs in, pulls
> the file and exits. It works fine.. other than the fact that ~50% of the
> Mikrotiks do not work. What specifically does not work is any kind of data
> transfer - I *can* connect and authenticate.
>
> 220 BRLLWIKSSW-RTR1 FTP server (MikroTik 4.12) ready
> Name (x.x.x.x:simon): admin
> 331 Password required for admin
> Password:
> 230 User admin logged in
> Remote system type is UNIX.
> ftp> ls
> 200 PORT command successful
> 425 Can't build data connection
> ftp> ls
> 200 PORT command successful
> 425 Can't build data connection
> ftp> Terminated
>
> I am not firewalling the port at all, tried disabling every firewall rule
> just in case to no avail. Neither box is behind a NAT of any kind (the
> backup system or the Mikrotik.) There seems to be no reason why the ones
> that work DO work.. and the ones that don't work DON'T.. they both have
> identical configs from a firewall/FTP perspective. Google didn't lead me
> anywhere helpful. Any ideas?
>
> --
> Simon Westlake
> Powercode.com
> (920) 351-1010
>
>
> ______________________________**_________________
> Mikrotik mailing list
> [email protected]
> http://www.butchevans.com/**mailman/listinfo/mikrotik<http://www.butchevans.com/mailman/listinfo/mikrotik>
>
> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik
> RouterOS
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.butchevans.com/pipermail/mikrotik/attachments/20120423/566541f1/attachment.html>
_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to