in reply to Re: Need Net::FTP delete help
in thread Need Net::FTP delete help

Hi Hauke,

The ftp server is vsftpd-3.0.3-3.fc25.x86_64 running on Fedora Core 25.

The Client is Windows 7 Professional, x64 full updated. And Cobian Backup 11

Everything is running on a local network. No Internet involved.

One of the backup sets on Cobian is writing to the FTP server. This is one of my methods of messing with the minds of Ransomware. (It is not my only one)

Even on it's better days, Cobian has a hassle and a half pruning old backup sets, be they to local drive or an FTP server. So, I write my own rotator wrappers to prune things. This program I am working on now, is to rotate the FTP backup sets from Cobian.

Cobian does not support those other fancy formats you mentioned.

As the "administrator". I have remote access to both machines. I set up the ftp server, rules and all. Makes it nice to see what is actually going on after a backup set goes off from Cobian

And, as I mentioned previously, I am able to use a Linux ftp client to delete file and directories starting with a dot.

-T

Replies are listed 'Best First'.
Re^3: Need Net::FTP delete help
by haukex (Archbishop) on Feb 08, 2017 at 10:19 UTC

    Hi Todd Chester,

    Everything is running on a local network. ... As the "administrator". I have remote access to both machines. ... One of the backup sets on Cobian is writing to the FTP server. ... This program I am working on now, is to rotate the FTP backup sets from Cobian.

    So, do I understand correctly that you are connecting from the Windows machine to the Linux machine via Net::FTP to accomplish this? Why not simply run a script on the Linux machine directly and have it do its work locally?

    Regards,
    -- Hauke D

Re^3: Need Net::FTP delete help
by soonix (Chancellor) on Feb 08, 2017 at 11:49 UTC
    haukex wrote:
    Why not simply run a script on the Linux machine directly and have it do its work locally?
    I second that. Especially if you do this as protection from ransomware, you would not want to allow the (possibly infected) client to delete important backup data.

    Plus, if it runs on the server, you could add staging at a later stage (that pun came by itself).

      Because I will not always have full control over ftp servers, such as weird NAS boxes
Re^3: Need Net::FTP delete help
by Anonymous Monk on Feb 08, 2017 at 19:08 UTC
    "Everything is running on a local network."

    Are you trolling us or WHAT?!?!? :D :D :D

      > Are you trolling us or WHAT?!?!?

      :'P