<div>OK i see. I have never programed caml before so I'm a bit stuck. I looks like I need to edit lines some of the stuff between 368..382 and 137..147 could anyone help me workout what changes to make? </div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>Adam</div>
<div> </div>
<div>PS, it seems more appropriate to continue this thread on the unison-hackers mailing list.<br><br> </div>
<div><span class="gmail_quote">On 21/06/07, <b class="gmail_sendername">Benjamin Pierce</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:bcpierce@cis.upenn.edu" target="_blank">bcpierce@cis.upenn.edu
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">You'd need to rewrite some code involving tempFileSuffix in the file<br>os.ml...<br><br>Regards,<br><br>
- Benjamin<br><br>On Jun 21, 2007, at 11:40 AM, Adam wrote:<br><br>> Hi I am working with a document storage system called "LiveLink". I<br>> assess all LiveLink documents over WebDAV mounted as a network drive
<br>> in windows. When I am out of the office I am keeping an offline<br>> replica of these files in case I need to read or edit them. I am<br>> using unison to maintain the replica between the offline copy on my
<br>> laptop D:\ drive and the webdav copy mounted on a network share Z:\.<br>><br>> This works fine... except...<br>><br>> LiveLink does something special. When ever you create a file LiveLink<br>> records some metadata about it, including its MIME type. All files
<br>> uploaded by unison are copied to LiveLink with a unison.tmp<br>> extension, so LiveLink sets the MIME type as application/octet-<br>> stream. Unison then renames the file to have it's correct extension,
<br>> say ".doc" (which should have a MIME type of application/msword) but<br>> LiveLink does not update the metadata on rename, it only sets it at<br>> the time the file is created.<br>><br>> This leaves me having used unison to upload multiple .doc .xls .mpp
<br>> files (all ms document formats) into LiveLink and live link having<br>> them set with the wrong MIME type - so whenever anyone I work with<br>> trys to download them the browser is told they are application/octet-
<br>> stream files and saves them as .doc.bin .doc.xls .doc.mpp<br>> respectively.<br>><br>> Is there anything I can do to prevent this. The organisation I work<br>> for (and the organisation that builds LiveLink) are large and are not
<br>> going to change LiveLink to be more compatible with unison I'm<br>> afraid. What I'm really looking for is a unison option or hack that<br>> uploads the files with the correct extension.<br>><br>
> Thanks<br>><br>> Adam<br>><br>><br>><br>><br>><br>> Yahoo! Groups Links<br>><br>> <*> To visit your group on the web, go to:<br>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com/group/unison-users/" target="_blank">
http://groups.yahoo.com/group/unison-users/</a><br>><br>> <*> Your email settings:<br>> Individual Email | Traditional<br>><br>> <*> To change settings online go to:<br>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com/group/unison-users/join" target="_blank">
http://groups.yahoo.com/group/unison-users/join</a><br>> (Yahoo! ID required)<br>><br>> <*> To change settings via email:<br>> mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:unison-users-digest@yahoogroups.com" target="_blank">
unison-users-digest@yahoogroups.com </a><br>> mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:unison-users-fullfeatured@yahoogroups.com" target="_blank">unison-users-fullfeatured@yahoogroups.com
</a><br>><br>> <*> To unsubscribe from this group, send an email to:<br>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:unison-users-unsubscribe@yahoogroups.com" target="_blank">
unison-users-unsubscribe@yahoogroups.com</a><br>><br>> <*> Your use of Yahoo! Groups is subject to:<br>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://docs.yahoo.com/info/terms/" target="_blank">
http://docs.yahoo.com/info/terms/</a><br>><br><br></blockquote></div><br>