A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/334209.html below:

FTP Windows AS/400

FTP Windows AS/400 FTP Windows AS/400Brendan Bispham bnbtss at yahoo.co.uk
Tue Sep 13 12:43:42 EDT 2005
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

More information about the Python-list mailing list

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