[BUG] Hugely inefficient FTP code: coding opportunity

Michael Rueger m.rueger at acm.org
Wed Feb 13 00:51:37 UTC 2002


Hannes Hirzel wrote:
> 
> On Tue, 12 Feb 2002, Michael Rueger wrote:
> > There is already a HTTP put:
> >
> > HTTPSocket>>httpPut: contents to: url user: user passwd: passwd
> It does not work for me. I do an inspect on
> 
> HTTPSocket httpPut: '<html><h1>hello world</h1></html>' to:
> 'http://myDomain/myDirectory/testh.html' user: 'myUserName'
> passwd: 'myPassWord'
> 
> and get back the string
> 
> HTTP/1.0 301 Moved Permanently

Have you tried to put a file using another tool (IIRC I first tested
with the Netscape Composer which lets you use put instead of ftp)?

Michael



More information about the Squeak-dev mailing list