Goddam zope mailing list, least supportive list on the planet. Any
zope gurus out there who can help me with this one:
>From a Python Script, given a string which is a filename on the local
filesystem, say,
thisFile = 'C:\\ProgramFiles\\SomeDir\\somefile.dat'
How can I upload this to the zope filesystem?
I naively tried:
folder.manage_addFile(id='somefile.dat', file=thisFile )
But this created a file somefile.dat with contents 'somefile.dat'
because the 'file' argument contains the content, not the name, of the
file.
Any suggestions?
Thanks,
John Hunter
_______________________________________________
Bits mailing list
[EMAIL PROTECTED]
http://www.sugoi.org/mailman/listinfo/bits