Færdiggjort

Simple website with an [login to view URL] page to upload a local file to a Dropbox folder

The goal is to create a simple website with an [login to view URL] page that can upload a local file that is already present on the server to a distant Dropbox folder. We have an IIS server. On this server are about 1000 documents in a single folder that need to be uploaded. We have tried to solve the problem inside the host site with some code solution. But we have not been able to make that work, so thought a simple solution would be to create a simple aspx page.

Actually code section we have :

The aspx code :

<asp:FileUpload ID="FileUpload1" runat="server" accept="application/msword,application/[login to view URL],application/pdf" />

<asp:RegularExpressionValidator ID="uplValidator" runat="server" ControlToValidate="FileUpload1"

ErrorMessage="only .pdf, .doc, docx, .odt, .txt formats are allowed"

ValidationExpression="(.+\.([Pp][Dd][Ff])|.+\.([Dd][Oo][Cc])|.+\.([Dd][Oo][Cc][Xx])|.+\.([Tt][Xx][Tt])|.+\.([Oo][Dd][Tt]))"></asp:RegularExpressionValidator>

<asp:Button ID="btnsave" runat="server" onclick="btnsave_Click" Text="Save"/>

The code behind :

Protected Sub btnsave_Click(ByVal sender As Object, ByVal e As [login to view URL])

...

Upload(folderPath & filename, filename) 'Here the path and the folder is an existing file on my server.

...

End Sub

Sub Upload(ByVal filePath As String, ByVal targetFileName As String)

Dim dbx As DropboxClient

dbx = New DropboxClient("<the Token Generated>")

Dim fileStream As Object

fileStream = New FileStream(filePath, [login to view URL], [login to view URL])

Dim content As Byte()

Using reader As Object = New BinaryReader(fileStream)

content = [login to view URL](CInt([login to view URL]))

End Using

Using mem As New MemoryStream(content)

[login to view URL]("<path on dropbox side>"&targetFileName , [login to view URL], body:=mem)

End Using

End Sub

I don't know is anything is wrong in this code ? Actually I don't really know how the "<path on dropbox side>" should look like.

This code don't generate any error for my tests, just no files are created on my dropbox depot.

Evner: .NET, ASP, ASP.NET, HTML, VB.NET

Se mere: upload large file website, simple website page, joomla upload large file page, how file upload works in asp net, c# upload file to server, vb.net file upload, how to upload files in asp net using c#, asp.net file upload, aspx simple file upload, file upload in asp net c# code project, file upload without fileupload control in asp net c#, ajax upload local file, write html code upload xls file web page, net ajax upload file users, net copy data mssql local file, asp net bar progress ajax file upload, can upload pdf file website vivvo cms, dot net nuke upload local, simple website login page, upload file server local file j2me

Om arbejdsgiveren:
( 25 bedømmelser ) Lower Hutt, New Zealand

Projekt ID: #19643000

Tildelt til:

khanicha

hello, please share your code here for review. there are 2 types of API key, private and public. I think your code mixed between both. let me know as this will be a very quick solution. regards khamid

$125 NZD på 1 dag
(16 bedømmelser)
7.8

22 freelancere byder i gennemsnit $138 på dette job

sureshdevi

I will create simple ASP.net website to uploads 1000 documents from local folder to Dropbox account folder. I will complete this work in 2 days. Looking for your reply to start this work immediately. I will be availab Flere

$75 NZD in 2 dage
(584 bedømmelser)
7.5
schoudhary1553

Hello, I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed several projects like this. For evidence you can see my profile. Pl Flere

$250 NZD in 5 dage
(21 bedømmelser)
5.8
TSCreators

Hi Dear , I have 4 year experience over asp.net(webform and mvc) for responsiveness work on bootstrap. you can see our sites and portfolio in our site below is the url: [login to view URL] https://ww Flere

$140 NZD in 7 dage
(68 bedømmelser)
5.9
ludwig333

Hello. dear, Nice day,! i am a full web developer with over 5 years on freelancer.com. ****In SPECIAL very familiar with Website Design, Javascript, Responsive, ASP.NET, C#***** I have read your description and hav Flere

$140 NZD in 7 dage
(38 bedømmelser)
5.9
shobhitpundir

Hi There, Thank you for providing the code for jump start. I would be needing the access code to check and execute the code properly. Let's connect over chat to get started on the project. Regards, Shobhit Pundir

$50 NZD på 1 dag
(11 bedømmelser)
4.9
Ahmed818

Hello, i am interested in this project i can create the required aspx page to upload your files to dropbox server waiting your answer Thank you

$155 NZD in 2 dage
(50 bedømmelser)
5.1
Mexi2705

Hello I have walked through your note and enough confidence that I can work on your project I am having 10 years of rich experience as Mobile & Web Developer and also know graphics designing means in my career i learn Flere

$250 NZD in 5 dage
(14 bedømmelser)
4.6
LiaoFang

Dear client. Nice to meet you. I've read you project description carefully and very interested. Let's discuss over chat and get started. Waiting your reply. Warm regards.

$220 NZD in 3 dage
(10 bedømmelser)
4.8
misraanu

I am experienced in asp.net and db, kindly review my profile, looking for positive response from your end, thanks

$250 NZD in 10 dage
(11 bedømmelser)
4.7
sergaymihilovich

Hi. I have gone through your requirement and highly interested in this project. I am pretty familiar with .NET, ASP, ASP.NET, C# Programming, HTML. So I am sure I can do it perfectly. Hope to work with you. Th Flere

$250 NZD in 3 dage
(4 bedømmelser)
3.5
solutionHDM

Hi I have the experience of 5 + Years in my job related field of website designing and development in asp.net.I understand your project and can easily design a web site to upload a local file to a Dropbox [login to view URL] t Flere

$83 NZD in 5 dage
(1 bedømmelse)
2.3
avdo6

I am responsible and reliable. Always ready for new challenges as well as professional training. New technologies have always fascinated me and intrigued me. For myself, I can say that I'm moving, full of research spir Flere

$122 NZD in 3 dage
(5 bedømmelser)
2.3
poojaexpertz

Hello, After reviewing your post, I am very interested in that due to my experience. I'm expertise in php, core php, CMS, HTML5, CSS3, Angular JS, Node JS photoshop, bootstrap, wordPress, OPencart, Codeignitor, Laravel Flere

$30 NZD in 7 dage
(3 bedømmelser)
1.9
cooddooc

Hi!I'm very happy to have a chance of bidding your [login to view URL] can we talk?Please schedule a time? I am an excellent developer in this industry. If we work together, I will satisfy you fully. Please give me 10 minutes Flere

$140 NZD in 7 dage
(3 bedømmelser)
1.8
$155 NZD in 15 dage
(1 bedømmelse)
1.2
saurav074

Upload files in database i have done and Dropbox. Relevant Skills and Experience . Net sql mvc 2.5 years experience

$155 NZD in 3 dage
(0 bedømmelser)
0.0
$155 NZD in 3 dage
(0 bedømmelser)
0.0
SwiftSoftLancer

Hi. I am a professional coder but new here on freelancer. I can guarantee to complete your project with high level of coding. I am placing low bid to get started with freelancer. I would expect to have 5 stars in retur Flere

$30 NZD in 2 dage
(0 bedømmelser)
0.0
hayattech

Hello Manager, I am an Experienced Web Developer / Software Developer / .NET Developer I Have recently Completed my project Upwork in Asp.net MVC. I Have seen the requirements that you mentioned Here are my skil Flere

$56 NZD in 3 dage
(0 bedømmelser)
0.0
RiyajC

I am interested in this project. I am having hand on experience in Software Development and Maintenance using Microsoft .Net Technology. My aim is to deliver satisfied and quality work to our client with support in cas Flere

$50 NZD in 5 dage
(0 bedømmelser)
0.0