尝试与“有链接的人”共享文件的问题 [英] Problems trying to share a file with "people with a link"

查看:98
本文介绍了尝试与“有链接的人”共享文件的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!


我正在开发一个Delphi应用程序,我可以连接,获取文件夹/文件数据,上传新文件和创建文件夹,但我可以'使共享文件正常工作。


我想与"有链接的人"共享文件,让链接所有者查看(只读)文件。


使用我的代码使用REST,我可以使用以下命令更改文件对象数据:

" shared_with" :{" access":" People with a link"} 

...然后这......

 https://apis.live.net/v5.0/FILE_ID/shared_read_link?...... 

...获取链接。


在上一代码之后,文件属性会"正确"更改。到"有链接的人"。但是,链接无法正常工作(SkyDrive告诉该文件不可用或使用未注册的Live用户/计算机单击时权限不正确。)


如果我登录到我的skydrive帐户,该文件的共享值是''APP_NAME的链接',而不是'有链接的人'。


但是,如果我从我的应用程序获取对象数据,' share_with'值显示为"有链接的人"正如所料!


我做错了什么?


然后,如果我从Skydrive网页共享文件("手动") ,共享值被设置为"有链接的人",如果我从我的应用程序中获取文件对象属性,则根本没有任何更改:shared_with仍然是'有链接的人'之前为
! / p>

谢谢!

解决方案

文件是否公开共享? 它是什么类型的文件(即Powerpoint,Excel等)。


Hi!

I'm developing a Delphi application and I can connect, get folders/files data, upload new files and create folders, BUT I can't make Share Files to work correctly.

I want to share a file with "People with a link", to let link-owners to view (read-only) a file.

With my code using REST, I can change the file object data with:

"shared_with" : {"access": "People with a link"}

...and then this...

https://apis.live.net/v5.0/FILE_ID/shared_read_link?......

...to get the Link.

After previous code, file properties are changed "correctly" to "People with a link". However, the Link is not working (SkyDrive tells that the file is not available or permissions are not correct when clicking it with a non registered Live user/computer).

If I log into my skydrive account, the Sharing value for that file is 'Link for APP_NAME', instead of 'People with a link'.

HOWEVER, if I get object data from my application, 'share_with' value appears as "People with a link" as expected!

What am I doing wrong?

Then, if I share the file from the Skydrive web page ("manually"), Sharing value is setted to "People with a link", and If I get file object properties from my application, there is not any changes at all: shared_with is still 'People with a link' as before!

Thanks!

解决方案

Is the file publicly shared?  What type of file is it (i.e. Powerpoint, Excel, etc.).


这篇关于尝试与“有链接的人”共享文件的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆