Conection between chrome extension and django website - django

I am developing a Chrome extension that detects when a file is downloaded, sends it to a website (also created by me with Django), and after the website processes it, the Chrome extension receives another file with some results.
I would like to know how I could connect them. Does someone have any examples or names of some technology that allows Chrome extensions to send and receive files from a website or server? Thank you in advance!

Related

Accessing IIS Windows Authentication Website from Excel Web Data

I have a basic website written in Python Django, hosted on IIS 8.5. The website is used in the company intranet with Windows Authentication.
Accessing the website through a browser gives no problems for authentication. However, making use of a simple web API to retrieve data for reporting purposes is giving problems.
I'm trying to load a URL into Excel which supplies data in CSV format (Data -> From Web). Disabling IIS Windows Authentication and using Anonymous works perfectly. However, enabling Windows Authentication does not work as Excel says 'credentials are incorrect'.
The URL response is a simple HttpResponse object with CSV data. Nothing weird or complicated happening.
Any idea where to troubleshoot this? My IIS knowledge is limited in this regard.
So I changed the API part of the website to anonymous authentication as per this answer. it did the trick for me:
IIS 8.5: Change authentification mode for url sub path

Refreshing FTP server without pressing refresh

I'm programming a C++ project that captures an image and automatically uploads it to an FTP server. The images are successfully being uploaded and I can see them by refreshing the FTP server web page.
My question is, whether is it possible to refresh the ftp server webpage without pressing the refresh button? Like to run a c++ code to refresh the specific page i'm working on?
The FTP protocol has no concept of notifications, so there is no way for an FTP server to make an FTP client automatically refresh a listing when the content of a directory changes. The client needs to re-poll the listing periodically. A web browser won't do that automatically, you would have to write/find a browser plugin to force it. Or stop using a web browser to display an FTP server's listing, use an actual FTP client instead, preferably one that has timer capabilities built-in.

Get URL from Firefox browser on Ubuntu in Qt application

I work on Qt.
I need to retrieve URL from current Web page opened in Firefox by using Accessibility in Ubuntu 14.04.
Can somebody tell me how to do that?
You should Create WebSocket based Qt apps then listen on specific port and firefox add-on and connect with particular port and then only you can communicate with Firefox and Qt Application.
Please go through these links for more help.
Create Qt WebSocket Based Application.
Create add-on using the Firefox SDK
Write WebSocket client applications
Use Firefox tab api to get current URL and share with Qt Apps.

Chrome packaged application and Facebook redirect url

I have a Chrome Packaged Application that I am currently integrating with the Facebook API. The Facebook Javascript SDK requires that I provide the URL of where my application is hosted and for security reasons they only redirect to this url.
The problem is that a Chrome Packaged Application doesn't have a url. I am aware of the chrome.extension.getURL but this url is not static, it changes per installation. Is there any way to set a URL for a Chrome Application that works for all installations?
Once you publish your app the id from chrome.extension.getURL will not change. The id matches the key used to sign the extension and once you publish an extension to the Web Store that key doesn't change. Developing locally will be more annoying since each time you "load an unpacked extension" it will get a new id.

How to set up Apache server via an FTP account

I have developed a web application in Django and would like to go online i have an FTP access to the hosting server I am a beginner to "setting up a website" i would like to know how to install apache on that server and have my application working
Kindly provide detailed info as i am newbie, any links or tutorials would help a lot
Thanks in advance
If you only have user level access to the machine (ie: you don't have root), then you won't be able to control what web server runs and you can only control its settings to a limited regard. You will have to consider contacting your provider or looking for a different hosting package if the server doesn't meet you needs.
Typically, if it is a hosting server, the administrators will already have web server software like Apache running. You simply just have to upload what you would like to have displayed (typically to a directory called "public_html" or something like that), and it will display when someone visits your site. Hopefully they support things like Django, otherwise you might need to look at other options.
Your hosting provider is most likely to have specific and the most relevant instructions for how to upload your website.