Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Pushing on FTP or SFTP

    I have a script that makes world.png
    /minecraft/mcmap -mem 10 world -file /minecraft/world.png
    It makes it every half a hour on a cron job but I want it to after it has made the world.png for it to automatically upload it to my web server but I have had the following problem I haven't a clue to go about doing it and the two providers gave been as useful as stick against a tank with 1 being of no use and there saying the would do it but for the cheap price of 100$ I ONLY have access to the SSH root via the one that makes the world.png the other side is only a FTP.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    In the simplest case (overwrite existing file with a new one without fallback or archiving)
    you can extend your script with an call to a ftp client.
    e.g. ncftpput(1) manual page
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts