-
Notifications
You must be signed in to change notification settings - Fork 37
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
Not uploading the file #60
Comments
Is everything ok when I see this in my console? $ grunt sftp-deploy --verbose Reading "Gruntfile.js" Gruntfile...OK Registering Gruntfile tasks. Registering "grunt-contrib-less" local Npm module tasks.
Registering "grunt-sftp-deploy" local Npm module tasks.
Registering "grunt-contrib-watch" local Npm module tasks.
Running tasks: sftp-deploy Running "sftp-deploy" task Running "sftp-deploy:build" (sftp-deploy) task
|
have you checked #43 ? |
Hi @maboiteaspam - Clément, |
Hello, do you mean you also tried to set cache : false ? Can you give some more detailed information ? Configuration, environments. How about #58 ? What happens if you try with --verbose ? or --debug ? could you post that ? HTH |
Thanks for answering @maboiteaspam, My environment: FTP server: I've read #58 and this is my code (Gruntfile.js): module.exports = function(grunt) { This is my .ftppass JSON file: { I've tried also with '--debug', this is what I get: $ grunt sftp-deploy --debug
I've tried also with '--verbose', this is what I get: $ grunt sftp-deploy --verbose Reading "Gruntfile.js" Gruntfile...OK Registering Gruntfile tasks. Registering "grunt-contrib-less" local Npm module tasks.
Registering "grunt-sftp-deploy" local Npm module tasks.
Registering "grunt-contrib-watch" local Npm module tasks.
Running tasks: sftp-deploy Running "sftp-deploy" task Running "sftp-deploy:build" (sftp-deploy) task
|
hi, thanks for feedback it s interesting. FTP SSL is not Sftp. Please ensure you try to connect an Sftp server, not an FTPs server, otherwise you ll have to rollback to an ftp-deploy task that supports FTP over SSL. |
Hey, my Gruntfile.js is:
.ftppass --verbose gives me: Running tasks: sftp-deploy Running "sftp-deploy" task Running "sftp-deploy:deploy" (sftp-deploy) task
../path/index.html to home/path/index.html
--debug: Running "sftp-deploy:deploy" (sftp-deploy) task
I have tried cache:false and read the issues linked by @maboiteaspam . Still having no clue what the problem is. All the files are existing. Maybe someone can help me? I am new to Github and just started working with grunt. thanks! |
I had the same problem as @hasenkacke . I managed to solve the problem after looking at the issue for a similar repo: It turns out it was because of a trailing slash for the src path. |
Hi,
I've set up everything correctly, and Terminal don't show any errors...
$ grunt sftp-deploy --verbose
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Reading .ftppass...OK
Parsing .ftppass...OK
Initializing config...OK
Registering "grunt-contrib-less" local Npm module tasks.
Reading /Users/username/Sites/project/node_modules/grunt-contrib-less/package.json...OK
Parsing /Users/username/Sites/project/node_modules/grunt-contrib-less/package.json...OK
Loading "less.js" tasks...OK
Registering "grunt-sftp-deploy" local Npm module tasks.
Reading /Users/username/Sites/project/node_modules/grunt-sftp-deploy/package.json...OK
Parsing /Users/username/Sites/project/node_modules/grunt-sftp-deploy/package.json...OK
Loading "sftp-deploy.js" tasks...OK
Registering "grunt-contrib-watch" local Npm module tasks.
Reading /Users/username/Sites/project/node_modules/grunt-contrib-watch/package.json...OK
Parsing /Users/username/Sites/project/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
Loading "Gruntfile.js" tasks...OK
Running tasks: sftp-deploy
Running "sftp-deploy" task
Running "sftp-deploy:build" (sftp-deploy) task
Verifying property sftp-deploy.build exists in config...OK
Files: ./css -> /wwwroot/xxx-practice-installation/xxx-practice-installation/base-install/css
Reading .ftppass...OK
The text was updated successfully, but these errors were encountered: