[Zope] File url in a network
tpassin at mitretek.org
Tue Oct 14 10:57:58 EDT 2003
> I need some help. I don'n know how to specify a file url in a network.
> For uploading and creating an object (within the Product
> External File) I
> "uploadCreate(target_filepath=target,upload_file=fileurl)" >
> with the file_url as upload_file.
> I get the error
> [Errno 2] No such file or directory:
when I use this function with the
How can I specify the file in the network?
I would start by adding the scheme ("file:") to the url. This is
essential. If that does not do it, you may need some windows-specific
interface code (I seem to remember that localFS needs such code to
access network hosts). I do not know any more than that, though.
More information about the Zope