Last 12 weeks · 3 commits
4 of 6 standards met
Hi There, I'm running on windows. After I ftpPut a file I see: a file in the root directory on the ftp server named "\img\buddies1.png" directory named "img" nothing in the "img" directory I believe the behavior is due to finalRemotePath: Which is being used when calling ftp.put: I'm not 100% confident but AFAIK windows ftp servers support forward slash. I'm pretty sure a function like the below would work: I'll fork and submit a PR if you're in agreement. Thanks, Matt Here's my Gruntfile FWIW:
Repository: sindresorhus/grunt-ftp. Description: Upload files to or download from an FTP-server Stars: 22, Forks: 16. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v3.0.0 (1mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 71%. Top contributors: sindresorhus, vincent-boulin.
look,this picture is in grunt !qq 20151104195440_ when i excute grunt fileGet there is error !image I use the console.log output information in command-line and i know grunt-ftp how to work~ I found that the paramter of ftp.get() function el.src[0] not exist.so I double right or false,bug? I don‘t no what a reason I am chinese. PS:FTP:I use local ftp server,OS:win8.1 regards!