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

deploying from windows creates files instead of folders #32

Closed
pdeva opened this issue Dec 5, 2013 · 3 comments
Closed

deploying from windows creates files instead of folders #32

pdeva opened this issue Dec 5, 2013 · 3 comments

Comments

@pdeva
Copy link

pdeva commented Dec 5, 2013

the presence of '' instead of '/' in paths seems to make the task creates files instead of folders with the specified name

@roytruelove
Copy link

Have you tried the server_sep option? If you set that to '/' it should solve the issue (did for me)

@JulienCabanes
Copy link

+1 for @roytruelove answer, it solved the same issue for me, thx!

@atbjk
Copy link

atbjk commented Jul 23, 2014

I still have this issue. Folders transfer fine, but the files have the path name in them. Server sep is not working for me. Below is the code i use:
'sftp-deploy': {
build: {
auth: {
host: 'joseph.site.devel',
port: 22,
authKey: 'key1'
},
src: 'public',
// cache: 'sftpCache.json',
dest: '/home/httpd/vhosts/site.com/httpdocs/public',
// exclusions: ['public//.DS_Store', 'public//Thumbs.db'],
serverSep: '/',
concurrency: 8,
progress: true
}

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

5 participants