#Deploy to FTP Doesn't upload all files in the build

1 messages · Page 1 of 1 (latest)

shrewd slate
#

When using Deploy to FTP, I have a copyfiles in the package.json to include a .htaccess file which is exported to the dist folder locally but isn't uploaded to the FTP server with the assets and include folders etc. Is this expected?

oak orioleBOT
sudden pelican
shrewd slate
#

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

shrewd slate
#

@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?

sudden pelican
#

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)

shrewd slate
#

The .htaccess is there in the dist folder, it doesn't get uploaded with the other files on the Deploy to FTP component though

sudden pelican
#

Ok got it

#

But: youre sure you see the hidden files on your ftp client (have hidden files enabled?)?

shrewd slate
#

Yep I always have the hidden files visible in WinSCP

sudden pelican
#

Ok just double checked - indeed dot files are currently ignored. Will fix this

shrewd slate
#

Thanks, nothing urgent but wanted to report it