Non-standalone python scripts shall not have a shebang. Others will need
to be executable.
(cherry picked from commit 6ec513d17cafcdd235b4805363d3cd6daa494f2f)
bzr revid: p_christ@hol.gr-20110408112324-nc781po7efhjye21
These are the functional ones. Don't mess with the real os, because
we're just an abstraction layer of nodes, drop support for
Python < 2.4, because the server wouldn't work anyway.
bzr revid: p_christ@hol.gr-20100810122957-41n7lq0o287j62vw
Hopefully, FTP now will behave better to clients like Firefox. It is better
to pass the node-API messages to the FTP layer, than always return 550.
Conflicts:
document_ftp/ftpserver/ftpserver.py
bzr revid: p_christ@hol.gr-20100714125228-7xs3zbi72may4198
At the nlst command, the paths from the API could have been unicode, in
which case the '\r\n' separator would be sent as '\00\r\00\n' over the
wire (that's utf-16 encoding).
For that, bring the utf-8 conversion functions inside ftpserver.
bzr revid: p_christ@hol.gr-20100708225433-fqpl911kqfsrm1ff
A big patch: nodes should not be calculated multiple times from the path
string, within an operation. Instead, they are resolved only once in a
node object (may reuse the cwd_node, if possible) and then op relative
to that node.
bzr revid: p_christ@hol.gr-20100702215249-kzucr3i1p5f6vvnt