[Zope] File url in a network

Passin, Tom tpassin at mitretek.org
Tue Oct 14 10:57:58 EDT 2003

[F. Troester]

> 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
> need
> <dtml-call 
> "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:
> \\\C:\FH-Unterlagen\Vorlesungen\MT\KFZ-MT\Folien\
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.


Tom P

More information about the Zope mailing list