How to make ftpignore file effective? Iwant to ignore some file in remote-ftp, I writtend _.py[cod] \n log/_ like gitignore,but I feel terrible not working.....
how can i do??
I am also having some problems with the .ftpignore file. When I rightclick my local project folder and select "Sync local -> remote" the ignored files are also uploaded.
I love the idea of the ignore file, though can this ignore whole directories as well?
The ignore feature is built upon the npm package ignore https://www.npmjs.com/package/ignore. So any pattern it excepts should be accepted by Remote FTP
If you have any more issue leave a comment.
I am sorry, but I think this is not completly solved. My ignored files are still uploaded to the server.
Steps to reproduce:
@joergmoldenhauer You are correct. I can't seem to get it to work at all. I'm not sure how it is meant to work if I'm honest it would really need to be integrated with the ftp & sftp connectors themselves.
this bug is an extremely important security branch as the passwords (of those who authenticate with a password) will be revealed.
@oztalha I understand that this could be a security breach but from what I can see the feature will need quite a bit of work to get functioning correctly.
The .ftpignore wasn't working at all!
Since the latest update and (02b9f7e637e6244206035ef77c957922e095addb) it should work as intended, but currently only for sync-local -> remote
it would be great if it could be working while saving files.
Recently I had been connected to server, and made local changes to .ftpconfig (which I have added to my .ftpignore) putting into it some password :) and then saved, and the file was sent to remote server.
Sadly the issue still persists. All files mentioned in .ftpignore get uploaded to the server when I edit them. Also I cannot exclude certain remote folders from getting downloaded, e.g. symlinks.
Most helpful comment
I am sorry, but I think this is not completly solved. My ignored files are still uploaded to the server.
Steps to reproduce: