#] #] ********************* #] "$d_bin"'webSite update instructions.txt' # www.BillHowell.ca 23Feb2024 initial split off from "$d_bin"'webSite update notes.txt' # view in text editor, using constant-width font (eg courier), tabWidth = 3 #48************************************************48 #24************************24 # Table of Contents, generate with : # $ grep "^#]" "$d_bin"'webSite update instructions.txt' | sed "s|^#\]| |" # ********************* "$d_bin"'webSite update instructions.txt' USE lftp for [webSite, ssh] deletion of files not on d_webSite - much slower, hopefully more reliable? DON'T use FileZilla for massive stuff!!!! - reloads most of webSite every time!!!! OLD or small transfers : To update website : Make sure that upload transfer settings are correct!!! Remove remaining transfer queue : Re-instate transfer only newer files : 16Feb2023 externalURL-only approach to links: simpler, safer, faster maintenance comments to come later... 48************************************************48 #] USE lftp for [webSite, ssh] deletion of files not on d_webSite - #] much slower, hopefully more reliable? $ bash "$d_PROJECTS""bin - secure/lftp update www-BillHowell-ca.sh" >> isn't working well, script problems? 09Dec2020 WARNING! did my lftp settings pass permissions to the website, denying access to the public for many directories? vsftpd - very fast, use this? (secure - don't need for my website, though) 05Jul2022 : #] DON'T use FileZilla for massive stuff!!!! - reloads most of webSite every time!!!! just use it for very limited transfers - manually-sellected, small directories etc +-----+ #] OLD or small transfers : To update website : 1. rsync PROJECTS -> WebRaw 2. rsync WebRaw -> Web but xHTML exclusions (doesn't update html files) 3. update [*.htm, menu] files in WebRaw 4. QNial "Website updates.ndf" - to update Web/*.html files 5. rsync or FileZilla Web -> http://www.BillHowell.ca a) FileZilla check file transfer settings!! - see details next sub-section below 6. Add : Sarah, Catherine links +-----+ #] Make sure that upload transfer settings are correct!!! Menu -> View -> Directory listing filters -> check ONLY "Temporary & backup files" for local filters -> Edit filter rules -> "Temporary & backup files" : Filename ends with : [~, .bak.] Filename contains : [References, z_Archive, z_Old, z_References] UN-check : Conditions are case sensitive, check : Filter applies to : Files, Directories Click OK to retain changes #] Remove remaining transfer queue : Menu -> Edit -> Clear private data -> check Clear transfer queue box click in transfer [queued files, failed transfers, successful transfers] windows and [clear, delete] lists after all done #] Re-instate transfer only newer files : Menu -> Edit -> settings -> Transfers -> File exists action : Downloads -> Overwrite file if source file newer Uploads -> Overwrite file if source file newer #] 16Feb2023 externalURL-only approach to links: simpler, safer, faster maintenance #] comments to come later... # enddoc