#Deploy to FTP Doesn't upload all files in the build
1 messages · Page 1 of 1 (latest)
Hello there – I'm an AI powered assistant 🤖 that might be able to help you with your question. Would you like me to try helping you?
When does your copy script run?
Have you tried using the needle config copy argument instead? https://engine.needle.tools/docs/reference/needle-config-json.html
I'll update to try that and report back if it works
I'm using the old "copy-files-from-to": "^3.3.0", in devdependencies
@sudden pelican I think I am already using copy script here and also have the same file being copied via copy-files-from-to . Does the copy in needle config here look correct?
When you run a build what is inside the dist folder ?
You can remove this extra copy script altogether. All files are already copied, there's no reason for this anymore to copy assets or include folders (except the htaccess)
The .htaccess is there in the dist folder, it doesn't get uploaded with the other files on the Deploy to FTP component though
Ok got it
But: youre sure you see the hidden files on your ftp client (have hidden files enabled?)?
Yep I always have the hidden files visible in WinSCP
Ok just double checked - indeed dot files are currently ignored. Will fix this
Thanks, nothing urgent but wanted to report it