<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dropbox API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/329512#M19266</link>
    <description>&lt;P&gt;How do I check a shared link exists, I am using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dim mySharedFolderLink As Task(Of SharedLinkMetadata) = Nothing&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mySharedFolderLink = dbx.Sharing.CreateSharedLinkWithSettingsAsync(path)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what to do next, to find out if folder exists&lt;/P&gt;</description>
    <pubDate>Tue, 19 Feb 2019 00:30:20 GMT</pubDate>
    <dc:creator>solsupp</dc:creator>
    <dc:date>2019-02-19T00:30:20Z</dc:date>
    <item>
      <title>Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327557#M19185</link>
      <description>&lt;P&gt;Just programatically created a file sharing link in VB .net, once a recipient click on the link they get a message "&lt;SPAN&gt;You don’t have access to this content. You’re signed in as &lt;/SPAN&gt;xxxx@xxxxx.&lt;/P&gt;&lt;P&gt;I just want recipient to be able to download or view uploaded file, is this possible, am I missing a step for sharing the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:08:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327557#M19185</guid>
      <dc:creator>solsupp</dc:creator>
      <dc:date>2019-05-29T09:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327595#M19191</link>
      <description>&lt;P&gt;You should be able to create a shared link that anyone can access using&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_CreateSharedLinkWithSettingsAsync_1.htm" target="_blank"&gt;CreateSharedLinkWithSettingsAsync&lt;/A&gt;. (Though, content may be subject to team and/or shared folder policies.)&lt;/P&gt;
&lt;P&gt;Is that what you're using? Please share the code/output if something isn't working as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 16:40:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327595#M19191</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-07T16:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327657#M19201</link>
      <description>Ah ok, does the recipient still need to be logged into Dropbox, I was hoping to send link that anyone can download without having to log in.</description>
      <pubDate>Thu, 07 Feb 2019 22:03:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327657#M19201</guid>
      <dc:creator>solsupp</dc:creator>
      <dc:date>2019-02-07T22:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327660#M19202</link>
      <description>&lt;P&gt;No, for a link created using&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_CreateSharedLinkWithSettingsAsync_1.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;CreateSharedLinkWithSettingsAsync&lt;/A&gt;&amp;nbsp;with the default settings, the recipient does not need to be signed in.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 22:10:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327660#M19202</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-07T22:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327675#M19203</link>
      <description>&lt;P&gt;I use :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Private Async Function Dropboxnotification(path As [String], stream As FileStream, chunkSize As Integer, dbx As DropboxClient, filepath As String) As Task

        Dim updated As Task(Of ShareFolderLaunch) = Nothing
        updated = dbx.Sharing.ShareFolderAsync(filepath, Nothing, True)


        Dim myShared As Task(Of SharedFileMetadata) = Nothing
        myShared = dbx.Sharing.GetFileMetadataAsync(path)


        Dim myuploaded As ShareFolderJobStatus = Nothing
        Dim myPreview As SharedFolderMetadata = Nothing
        Dim mySharedLink As SharedLinkMetadata = Nothing

        Dim myDropBoxLink As String = Nothing

        Try

            If updated.Result.AsAsyncJobId.Value IsNot Nothing Then

                Dim myUploadReady As Boolean = False
                Dim myLinkReady As Boolean = False

                Do Until myUploadReady = True
                    myuploaded = Await dbx.Sharing.CheckShareJobStatusAsync(updated.Result.AsAsyncJobId.Value)
                    If myuploaded.IsComplete = True Then
                        myPreview = myuploaded.AsComplete.Value
                        myDropBoxLink = myPreview.PreviewUrl
                        myUploadReady = True
                        Exit Do
                    End If
                Loop


                Dim myIssueID As Integer = CInt(GridView1.GetRowCellValue(GridView1.FocusedRowHandle, "Issue_ID").ToString)
                Dim myMembers() As AddMember = Nothing

                Me.Draw_issuesTableAdapter.UpdateDropboxLink(myDropBoxLink, myIssueID)
                GridView1.SetRowCellValue(GridView1.FocusedRowHandle, "XXXlong", myDropBoxLink)

                If GridView1.SelectedRowsCount &amp;gt; 0 Then

                    Dim myIssueRecipientsDatatable As System.Data.DataTable
                    Dim myIssueRecipientsTableAdapter As ArchetypeDBDataSetTableAdapters.draw_issueesTableAdapter = New ArchetypeDBDataSetTableAdapters.draw_issueesTableAdapter
                    myIssueRecipientsDatatable = myIssueRecipientsTableAdapter.GetDataByIssueID(False, myIssueID)

                    Try


                        If myPreview.SharedFolderId IsNot Nothing Then
                            For Each myIssuee As DataRow In myIssueRecipientsDatatable.Rows
                                If myIssuee.Item("DREASON").ToString IsNot Nothing Then
                                    myMembers = {New AddMember(New MemberSelector.Email(myIssuee.Item("DREASON").ToString))}
                                    Await dbx.Sharing.AddFolderMemberAsync(myPreview.SharedFolderId, myMembers, False, "A Document Issue has been created by " &amp;amp; fnGetCompanyName() &amp;amp; " as you are part of the issue distribution, this ZipFile has been made available to you.")
                                End If
                            Next
                        End If
                    Catch ex As SystemException
                    End Try

                End If

            End If

        Catch ex As System.AggregateException
            If ex.HResult = -2146233088 Then
             
                'DevExpress.XtraEditors.XtraMessageBox.Show("This file already exists, cannot upload!", "oops, something has happened!", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information, System.Windows.Forms.MessageBoxDefaultButton.Button1)
                Exit Function
            End If
        End Try

    End Function&lt;/PRE&gt;&lt;P&gt;I get&amp;nbsp;exception&amp;nbsp;that shared link aleady exists, if i try to use&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_CreateSharedLinkWithSettingsAsync_1.htm" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;CreateSharedLinkWithSettingsAsync&lt;/A&gt; , can I return the shared link from already shared file, not the url, as the returned url needs user to be signed in.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 23:32:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327675#M19203</guid>
      <dc:creator>solsupp</dc:creator>
      <dc:date>2019-02-07T23:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327778#M19204</link>
      <description>&lt;P&gt;In the code you shared here, you're getting the&amp;nbsp;PreviewUrl for the shared folder, which does require members to be signed in.&lt;/P&gt;
&lt;P&gt;If you want a shared link that anyone can access, you should use&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_CreateSharedLinkWithSettingsAsync_1.htm" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer"&gt;CreateSharedLinkWithSettingsAsync&lt;/A&gt;. If a shared link already exists, that will give you a&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Sharing_CreateSharedLinkWithSettingsError_SharedLinkAlreadyExists.htm" target="_blank"&gt;CreateSharedLinkWithSettingsError.SharedLinkAlreadyExists,&lt;/A&gt;&amp;nbsp;in which case you can call &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_ListSharedLinksAsync_1.htm" target="_self"&gt;ListSharedLinksAsync&lt;/A&gt;&amp;nbsp;instead to get the existing link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 17:54:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327778#M19204</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-08T17:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327784#M19205</link>
      <description>Thanks, one more question, I maybe need to view the files from the folder, as the file I upload is a zip file, is there an equivalent shared folder link?</description>
      <pubDate>Fri, 08 Feb 2019 18:41:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327784#M19205</guid>
      <dc:creator>solsupp</dc:creator>
      <dc:date>2019-02-08T18:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327786#M19206</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_CreateSharedLinkWithSettingsAsync_1.htm" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;CreateSharedLinkWithSettingsAsync&lt;/A&gt;&amp;nbsp;method can be used to create shared links for files or folders.&lt;/P&gt;
&lt;P&gt;If you access a shared link for a zip file in particular, the&amp;nbsp;Dropbox web site will allow the user to browse through the contents of the zip file.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 18:51:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/327786#M19206</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-08T18:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/329512#M19266</link>
      <description>&lt;P&gt;How do I check a shared link exists, I am using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dim mySharedFolderLink As Task(Of SharedLinkMetadata) = Nothing&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mySharedFolderLink = dbx.Sharing.CreateSharedLinkWithSettingsAsync(path)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what to do next, to find out if folder exists&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 00:30:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/329512#M19266</guid>
      <dc:creator>solsupp</dc:creator>
      <dc:date>2019-02-19T00:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/329625#M19277</link>
      <description>&lt;P&gt;When calling&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_CreateSharedLinkWithSettingsAsync_1.htm" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;CreateSharedLinkWithSettingsAsync&lt;/A&gt;, if a shared link for the requested item already exists,&amp;nbsp;it will throw an&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_ApiException_1.htm" target="_blank"&gt;ApiException&lt;/A&gt;&amp;nbsp;with&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Sharing_CreateSharedLinkWithSettingsError_SharedLinkAlreadyExists.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;CreateSharedLinkWithSettingsError.SharedLinkAlreadyExists&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;You can then call&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_ListSharedLinksAsync_1.htm" target="_self" rel="nofollow noopener noreferrer"&gt;ListSharedLinksAsync&lt;/A&gt;&amp;nbsp;to get the existing link.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 16:12:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API/m-p/329625#M19277</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-19T16:12:04Z</dc:date>
    </item>
  </channel>
</rss>

