ftp-deploy
ftp-deploy copied to clipboard
Allows FTP servers on Linux to delete files starting with a dot.
Fix #99.
Linux-based FTP servers often consider files starting with a dot to be hidden files. The "-al" option allows you to retrieve them. However, it is not included in RFC959.
This option should not work with ftp-srv on win, for example.
What do you mean by should not work
? What will happen on a windows server with your code?
@simonh1000 Thanks for looking. It outputs a lot of this stuff.
{
"name": "ftp-srv",
"hostname": "UltraNamahage",
"pid": 37548,
"id": "2f31cfc1-c0fe-4ad2-ad33-5058279990db",
"ip": "127.0.0.1",
"directive": "LIST",
"level": 50,
"err": {
"message": "ENOENT: no such file or directory, stat 'D:\\Project\\ftp-deploy\\test\\remote\\-al '",
"name": "Error",
"stack": "Error: ENOENT: no such file or directory, stat 'D:\\Project\\ftp-deploy\\test\\remote\\-al '",
"code": "ENOENT"
},
"msg": "ENOENT: no such file or directory, stat 'D:\\Project\\ftp-deploy\\test\\remote\\-al '",
"time": "2021-12-02T10:26:57.176Z",
"v": 0
}
but that means your code will break some people's setups?
There should be no major problems. In the worst case, a slowdown in processing speed can be expected.