Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic FTP deploy: is there any automatic / programmable tool available? [closed]

I need this

  • Watch a dir content
  • When dir content change
    • delete a specific ftp folder
    • upload all dir content to the same ftp folder

I'm totally unaware of best way to accomplish this task.

I'm looking for suggestions / ideas.... gulp? grunt? node? nope :) ?

Actually I know no build tools. So before try/fault with every single options I ask you for suggestions.

EDIT: Please take note that I'm asking for a Continuos Deployment tool able to watch for file changes and to upload to FTP.

I cannot choose to change FTP ... I'd only change job

like image 721
realtebo Avatar asked Oct 29 '22 14:10

realtebo


1 Answers

What you need is a Continuous Deployment solution. FTP is not necessarily what needs to be done. You haven't mentioned a technology stack, but if you were (for example) working in Visual Studio, you can easily setup continuous deployment to an app service through Azure integrations. That way, whenever you have the project open in VS, if you make code changes and save them they are uploaded to your app.

You can read about app service CD on Azure here

There are, of course, many different continuous deployment solutions available to you. This was a specific example I'm a little more well versed with. Here is a list of other solutions, each with their own sets of functionality. If you do your research, I'm sure you'll find what you need (rather than write a script to do the directory monitoring and FTP for you)

like image 137
James Avatar answered Nov 11 '22 17:11

James