I am developing a Cloud storage Web app with NodeJS.
I'have two servers, one for handling Web and another for Storage. When the user uploads the file, it goes to the storage server and I save the link for accessing the file to the database. The User Schema has Names to folder and the file links in them so that I can render in the front end. Now the problem is I want to create a server for every user so that they can access their drive directly through WebDAV or FTPS, SFTP etc. So that they can mount on their devices.
Can anyone help me which NodeJS or NPM tool I can use to create an FTP, WebDAV server that can create folder from user Schema and show files from file links.
Related
Senario, Google Shared drive full of documents, shared with the IIS server, server has a virtual directory pointed to a folder that is available locally on the IIS server.
Using Dropbox, I can set Security options on the folder and the IIS server has access to the folder, works great. Company wants to move to Google Drive, when I attempt this, the Google drive folder has not Security Tab option.
I have scoured around for answers but everything is about the API, this has nothing to do with the API.
I also created an account on the IIS server, gave the account Administration privilege's and I get this error: "Specified user cannot access path (d:\Shared\GoogleDrive).
Also, I setup d:\Shared because I can apply Security settings to the folder and was hoping it would propagate down but it does not.
I finally figured out how to do this:
On the server itself backup/sync the folder desired. This allows you to manage the security on the folder, which is lost with other approaches.
From the google drive web interface, select computers, select the desired folder and using the more options from the menu, "Add shortcut to Drive".
You can then share it across the companies established share structure as a shortcut and sync files easily to the webserver.
In my case these are forms and pdf files but the webserver needs security access to the folder and using the base line Google shares did not work for me. This way did.
I currently have an Azure VM running Windows Server 2016 hosting my Tableau Server. I want to add a simple website to the server through IIS that I can share files with my clients via a direct download link (e.g. a URL that would allow them to download a zip file, www.mycompany.com/file.zip).
Currently, when you visit my URL, it takes you to the Tableau Server instance. The website I want to add would basically be a subdirectory of that URL that hosts a file I have for my clients. So if my clients went to www.mycompany.com, they would be taken to my Tableau Server. However if they went to www.mycompany.com/files/, they would be allowed to download what ever file I attached to that URL.
I created a website under IIS Manager, but for the host name I am not allowed to use forward slashes. E.g. I want to create the website with the URL www.mycompany.com/files/, but have to use www.mycompany.com instead. I'm assuming I cannot use www.mycompany.com for my host name, as that would conflict with my Tableau Server.
How then do I create a website in the manner I am describing? Or is it possible to somehow create a subdirectory within Tableau Server's structure?
You can add virtual directory under website which host name is www.mycompany.com.
Set physical path, alias to files. Then you can access it through www.mycompany.com/files.
I was trying to create an recommendation system for youtube. For that I would need to access the web server log files. Is it possible?
I created a nodejs virtual machine instance on google cloud (compute engine). I also created 3 mongodb instances on the compute engine. Now I pushed my local application to the google cloud repository. How do I link the app.js file to this server so it starts running the script and serving the files. I already changed the A record of my domain that I registered with godaddy so it's external ip is the same as that of the nodejs server I am running but all I am getting is this page.
Bitnami developer here.
You need to copy your files to the remote repository, create the configuration files and after that you have to include that configuration in the configuration of Apache to serve the application. It looks like you have done most of the work, but there may be an error in one of the steps. This guide will help you to configure your application in order to access it properly.
https://wiki.bitnami.com/Applications/Bitnami_Custom_Node.js_Application
I hope it helps.
Jota
How can I upload html content to website - I need to specifye internet address in my desctop client and I dont know what address should I type - this
publishUrl="ftp://waws-prod-am2-001.ftp.azurewebsites.windows.net/site/wwwroot
or something else.How can I list site content? Is there any microsoft text editor exist - than it will be easier to publish using publish profile.
Now sure what desktop client you are using. Based on your above info it seems you are using Windows Azure Websites so I will give you simple idea to upload HTML content from FTP client.
What you really need is install a FTP client in your desktop (i.e. FileZilla) and then setup your Azure Website FTP location.
Please follow my blog below to setup your FileZilla FTP client first:
http://blogs.msdn.com/b/avkashchauhan/archive/2012/06/19/windows-azure-website-uploading-downloading-files-over-ftp-and-collecting-diagnostics-logs.aspx
Once your FTP client is configured and you can see the Website folder you can just drag and drop HTML files from local machine to Windows Azure Websites.