[PD] shell and lftp

aym3ric stm-sq at bleu255.com
Fri Jul 16 02:10:40 CEST 2004

hi list,

i try to upload some stuff to an ftp from a patch using the shell object
but for some unknown reasons it just doesn't work as expected ...

the working command is

lftp -e "open some.site.net && user username pass && cd www && put
ftp.png && exit"

but when i send this message to the shell object i get this error:

read(0): Bad file descriptor

is there some parsing or something else limitations with this object ?


PS: another working command (among others..) is

lftp -e "user username pass && cd www && put ftp.png && exit"

but then i get

lftp: username: Unknown host
Usage: user userid [pass]

More information about the Pd-list mailing list