gulp-ftp | Upload files to an FTP-server | FTP library
kandi X-RAY | gulp-ftp Summary
kandi X-RAY | gulp-ftp Summary
[DEPRECATED] Upload files to an FTP-server
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create a new JSFTP file
gulp-ftp Key Features
gulp-ftp Examples and Code Snippets
Community Discussions
Trending Discussions on gulp-ftp
QUESTION
i have a problem with two gulp task in npm.js. First task compile project, next tast deploy it on ftp. If I run them separately - all work, but when i try to use them together, its now work. I think its a stream error. Cuz gulp ftp (second task) finish faster then (first task). Can someone help with this?
First task:
...ANSWER
Answered 2018-Feb-12 at 12:01You need to return
the stream from the dependancy task, 'build'
. Otherwise the parent task 'ftp'
won't wait for 'build'
to end.
Since that task has multiple src
you need to merge them with merge-stream
QUESTION
I'm attempting to put together a gulp script that will watch my changed files (front end files like css, js, cshtml) and will FTP them to my Azure WebApp the moment they are modified. I'm using gulp-ftp, but if there is a better option, please let me know.
...ANSWER
Answered 2017-May-02 at 03:40Well, gulp-ftp does say it is deprecated in favor of vinyl-ftp although that isn't probably your problem. I would remove the "ftp://" from your host value (if it is there) and see it if works better.
Here is a very nice blog on using vinyl-ftp using gulp with vinyl-ftp. vinyl-ftp also can handle transferring only newer files nicely too.
QUESTION
I need to run one gulp task that contains 3 or 4 another tasks. The problem is (steps):
- In task #1 I need download file from remote server
- After download completed, I need to run task #2
- And when task #2 is done I need to run task #3
This is my code:
...ANSWER
Answered 2017-Feb-08 at 20:57You should have the 'unzip-wp' task wait for the 'download' task to finish. To make sure the 'download' task is really finished also add a return statement to that task, i.e. this would do what you're looking for:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gulp-ftp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page