Open dotdreaming opened 11 years ago
Hi,
I've never used FTPs nor WebDAV, however if they can be used in command line (such as ftp), I guess the script could evolve to do the trick. Maybe with some kind of adapter.
Today, the script can be called this way (there are some other possibilities, I let you check with -h option):
./git_ftp.sh -H ftp.yourhost.com -u user -p password -P /path/to/your/project
But the sending way could be hanlded by adding an option --type/-t for example (which would accept as values ftp, ftps, webdav, other...):
./git_ftp.sh -H ftp.yourhost.com -u user -p password -P /path/to/your/project -t ftps
Hello,
I am looking for a script to enable me to use GIT version control in my dev workflow. I use a Git respository on BitBucket and develop locally. I want to commit and push to Bitbucket/GitHub but then deploy to a remote Server that only allows file access via FTP - Explicit FTPS (FTPES or FTP with TLS/SSL) or WebDAV (HTTPS/SSL). The WebDAV can be mapped as a local drive also, perhaps the script could work by invoking a post push command somehow?
Would this script do the trick?
Many thanks in advance.