Deploy the website to empira.be via FTP
.netrc at the project root (C:\empira\new-website\.netrc)/ (files are served directly from the FTP root)bilbio.empira.be and .htaccess must NOT be touched or deletedUse curl with the .netrc file. Never read or display the .netrc contents.
curl --netrc-file /c/empira/new-website/.netrc -T /c/empira/new-website/index.html "ftp://ftp.empira.be/index.html"
curl --netrc-file /c/empira/new-website/.netrc -T /c/empira/new-website/css/style.css "ftp://ftp.empira.be/css/style.css"
Upload all project files, skipping .claude/, .netrc, .git/, and other non-website files:
for f in index.html favicon.ico; do
curl --netrc-file /c/empira/new-website/.netrc -T "/c/empira/new-website/$f" "ftp://ftp.empira.be/$f"
done
for dir in css js img; do
for f in $(find /c/empira/new-website/$dir -type f); do
remote="${f#/c/empira/new-website/}"
curl --netrc-file /c/empira/new-website/.netrc --ftp-create-dirs -T "$f" "ftp://ftp.empira.be/$remote"
done
done
curl --netrc-file /c/empira/new-website/.netrc -s --list-only "ftp://ftp.empira.be/"
.netrcbilbio.empira.be/ or .htaccess on the remote