Hi Tim, On Tuesday 13 September 2005 17:31, Tim G. wrote: > I cannot get the script to switch from native to IFS. Yes you can... > Traceback (most recent call last): > File "C:\Python24\Tools\scripts\ftp400.py", line 9, in ? > ftp.cwd(path) It's the cwd which is having a problem > here is the script: > > import ftplib, os > > filename='' > path = "directory" Change the path to an absolute path, eg: >>> ftp.sendcmd('site namefmt 1') '250 Now using naming format "1".' >>> ftp.cwd('/home') '250 "/home" is current directory.' HTH
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4