-
Notifications
You must be signed in to change notification settings - Fork 35
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
path in file names #48
Comments
I guess you're working on Windows. This issue can be solved by changing |
I had this issue too. The above code is almost a fix, but not quite since it only replaces the first separator in the path. Have created a pull request courtesy of sanojb's pointer above with a fix here: |
I can confirm this issue. |
Apparently it has been fixed but the configuration used to use a parameter called "server_sep" which has now been changed to "serverSep" so my value had no effect. Perhaps the old parameter should still work for those updating the library and show deprecated warning. |
Pull request #77 might fix this. |
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
}
The text was updated successfully, but these errors were encountered: