notes
来自「在ftplib-3.1-1-linux.tar.gz,修改了一个BUG,和增加了」· 代码 · 共 21 行
TXT
21 行
Some people have complained about how paths specified to qftp end upgetting transferred to the remote system. In other words, if I try tosend a file that is not in my current directory, I have to specify thefull path of the file as input. The full path then gets sent to theremote system as the desired name.This is not a bug in ftplib. This is the desired behavior of qftp. Ioriginally wrote ftplib and qftp to copy my web site from my home linuxmachine to my ISP. I use the following command to accomplish this: find public_html -print | ftpsend my.isp.net -l pfaufind spits out full (relative) paths. I need these sent as destinationnames at the remote end so that the files end up in the properdirectories.Since this is not always desirable, I suppose there should be a mode inqftp to strip off just the file name and use that as the destination.Alternatively, another command line switch to override the destinationfile name could be specified.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?