added ftp password to lftp command
This commit is contained in:
parent
b182326851
commit
a810fb212a
3
.gitignore
vendored
3
.gitignore
vendored
@ -44,3 +44,6 @@ nosetests.xml
|
||||
.mr.developer.cfg
|
||||
.project
|
||||
.pydevproject
|
||||
|
||||
# OWN STUFF
|
||||
.ftp_pass.txt
|
||||
|
3
Makefile
3
Makefile
@ -10,6 +10,7 @@ PUBLISHCONF=$(BASEDIR)/publishconf.py
|
||||
|
||||
FTP_HOST=xsteadfastx.org/
|
||||
FTP_USER=xstead_0
|
||||
FTP_PASS=`cat .ftp_pass.txt`
|
||||
FTP_TARGET_DIR=/
|
||||
|
||||
SSH_HOST=localhost
|
||||
@ -95,7 +96,7 @@ dropbox_upload: publish
|
||||
cp -r $(OUTPUTDIR)/* $(DROPBOX_DIR)
|
||||
|
||||
ftp_upload: publish
|
||||
lftp ftp://$(FTP_USER)@$(FTP_HOST) -e "set ftp:ssl-allow no; mirror -R --ignore-time --no-perms --parallel=4 -e --use-cache -v $(OUTPUTDIR) $(FTP_TARGET_DIR); quit"
|
||||
lftp ftp://$(FTP_USER):$(FTP_PASS)@$(FTP_HOST) -e "set ftp:ssl-allow no; mirror -R --ignore-time --no-perms --parallel=4 -e --use-cache -v $(OUTPUTDIR) $(FTP_TARGET_DIR); quit"
|
||||
|
||||
s3_upload: publish
|
||||
s3cmd sync $(OUTPUTDIR)/ s3://$(S3_BUCKET) --acl-public --delete-removed --guess-mime-type
|
||||
|
Loading…
Reference in New Issue
Block a user