<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
On Tue, 2010-06-08 at 10:37 -0400, Simpson, Grant Leyton wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Are you wanting the user to manually enter the filename, including the <A HREF="file://">file://</A> scheme? If not, are you envisioning the file dialog box to provide a choice between selecting local files and entering an http/ftp url?

On Jun 8, 2010, at 10:32 AM, Eitan Adler wrote:

> It would then be the server's job to fetch the file unless the user
> passed it a <A HREF="file://">file://</A> scheme it which case the file would be provided by
> the UI.

</PRE>
</BLOCKQUOTE>
<BR>
I can see how this might work, but in theory it would be more difficult than it sounds. For example, passing an FTP uri would only work if that FTP server allowed anonymous access, as you wouldn't want to pass your own FTP access credentials to an unknown server.<BR>
<BR>
The local machine could determine if the FTP server they are giving a file reference to allows anonymous access I guess, and in cases where the FTP server doesn't, then it could behave like the KIO slaves in KDE, which allow local mapping of files at remote locations, such as SMB, FTP, SFTP, SVN, etc. But this is something that can only really be offered at the operating system level.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Thanks,<BR>
Ash<BR>
<A HREF="http://www.ashleysheridan.co.uk">http://www.ashleysheridan.co.uk</A><BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>