Re: walktree browser filenames problem

2005-02-04 Thread dimitri pater
thanks! now it works: ret.append(' http://e-bench.serpia.com/upload/%s>%s\n' % (urllib.quote(escape(name)),escape(name))) bye, Dimitri On Fri, 4 Feb 2005 11:45:17 -, Richard Brodie <[EMAIL PROTECTED]> wrote: > > "dimitri pater" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]

Re: walktree browser filenames problem

2005-02-04 Thread Richard Brodie
"dimitri pater" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The problem is that the filenames are cut off in the status bar of the > browser because of the white space (eg 'hello.pdf' works, but 'hello > there.pdf' is displayed as hello). urllib.quote() should do the trick. You

walktree browser filenames problem

2005-02-04 Thread dimitri pater
Hello, I use the following script to list the files and download files from my website (99% of the code is from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/200131). The problem is that the filenames are cut off in the status bar of the browser because of the white space (eg 'hello.pdf'