Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new directories instead of changing files in subfolders when pushing to FTP #48

Open
FrederikStenberg opened this issue Jun 17, 2019 · 0 comments

Comments

@FrederikStenberg
Copy link

I'm trying to push my files to my FTP using ftpush, but instead of updating files in subdirectories, its creating new folders with complete paths:
image

I'm running my environment on Windows, while my co-developer running on MacOS (using the same gruntfile and json files, doesn't seem to run into this issue.

Here's my config:

'sftp-deploy': {
			buildsftp: {
				auth: {
					host: login.live.host,
					port: 22,
					authKey: 'live'
				},
				cache: '<%= path.devAssets %>/dev/grunt/ftpush/live.json',
				src: '<%= path.root %>',
				dest: '/var/www/html/wp-content/themes/cvhelpr/',
				exclusions: [
					'_production',
					'.gitignore',
					'.git',
					'**/.DS_Store'
				],
				progress: true,
				simple: true
			}
		},

I'm not receiving errors when pushing to FTP, so I have no idea how to approach this issue.

I've tried both using simple: false and simple:true, but it's the same result.

Could this be related to node/npm or ftpush version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant