Hi Dino,
That looks like it will work. Thanks!

-Jeff

On Wed, Sep 24, 2008 at 6:21 PM, Dino Viehland <[EMAIL PROTECTED]> wrote:
> We recently added nt._getfullpathname which could be used as long as the 
> current working directory isn't changing.  But other than that I'm not aware 
> of one.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Hardy
> Sent: Wednesday, September 24, 2008 5:18 PM
> To: Discussion of IronPython
> Subject: [IronPython] Getting the full path to a file from a file object
>
> Hi all,
> WSGI has an api for sending a file directly. The api requires passing
> a file object, but the .NET api for sending files
> (HttpResponse.TransmitFile) takes the full path to the file to send.
> On *nix the fileno property is passed to sendfile() to get that
> effect.
>
> Is there any way to get the full path to the file that a file object
> represents? Unfortunately, there's no way to pass any extra
> information and still match the APIs.
>
> -Jeff
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to