Any idea of how to integrate ViewerJS into Lotus Domino?
I tried to deploy ViewerJS folder into html directory on server, but without success.
Sorry, i forgot to specify
index.html
in URL.
I type something like
http://<server>/ViewerJS/#../<dbpath>/0/576B03A3CD9F0180C1257C860037F2B5/$FILE/doc.pdf
instead of
http://<server>/ViewerJS/index.html#../<dbpath>/0/576B03A3CD9F0180C1257C860037F2B5/$FILE/doc.pdf
In this case seems to work
Related
I am trying to read files from my music directory on my PC.
I have tried doing it with the node.js file system module, but it is not working. How do I get it to work?😢
Just a late follow-up. It is possible to read and write files using HTML5 with the FileReader and saveAs(). The browser will open a file dialogue and let the user choose the file, so the user is aware of the file access. It is not possible to read or write to a file without the user's attention.
https://developer.mozilla.org/en-US/docs/Web/API/FileReader
As said by #flame in a comment, it's just impossible, because the browser never have access to the visitor's disk (do you imagine the security issue if it was the case ?).
Vue.js is a Front-end framework, so the application it produces only have access to what the browser has access to.
I am trying to get my UWP app to send a small text file to my ftp server but all the code snippets I have looked at don`t seem to work with UWP apps.
Here is the code I have tried using from the following link :
upload file to ftp site using vb.net
I am using Visual studio 2015 community and it doesn`t recognise the FTPWebRequest method.
I have also looked at the BackgroundTransfer sample from the following link :
https://github.com/Microsoft/Windows-universal-samples
But when I run it and enter my FTP server address in the form
ftp://IPAddress/TestFolder/
and attach a simple text file it gives me an error at the line :
Dim upload As UploadOperation = uploader.CreateUpload(uri, file)
as The parameter is incorrect.
I can`t seem to find anything else to help with a UWP app as all the sites and forums I have looked at all seem to have similar code to the first link.
I can access the Ftp site through windows explorer on my laptop and drag and drop files that way so I know the site is accessible.
Not sure if there is a reference I am missing, I have the Internet(client) and Internet(client and Server) enabled in the appxmanifest.
From MSDN:
Download operations via FTP are supported. However, for FTP operations, authentication credentials must be provided within the specified URI. For example, ftp://user:password#server/file.txt
BackgroundDownloader class
Thanks for the replies.
I decided to use a package from https://www.chilkatsoft.com/ftp-2-dotnet.asp. which is available as a nuget package.
With a few lines of code I was able to upload a file using ftp with no problems.
I know Domino as a web server. In the data folder there´s an HTML folder which is normally the root of web content. But I want to put files and folders with all the flash stuff inside a Notes database (nsf).
I know I can do this via import through Package Explorer in the Notes Designer client. But where should I copy it into? Into webcontent folder?
I also know documents and pages can act as .html files. But there are also javascripts, .swf, .mp3 and other files.
How can I then invoke the starting point file like index.html?
I appreciate any helpful answer .. :-)
I know I can do this via import through Package Explorer in the Notes
Designer client. But where should I copy it into? Into webcontent
folder?
I would not recommend to put it on Domino server file system, it's very dirty way.
One document with one attachment/video. That would give you overview of all files you have in database plus possibility to add/delete them (require development skills little bit).
You can also upload your resources as Files as a design element, however that would require you design access each time you want to change them.
About invoking. Have a look here: Domino URL Commands
Also check this link: URL commands for opening attachments, image files, and OLE objects
For everything that is not plain html you can use file- resources. Linking them is as simple as write an url that looks like this:
hxxp://yourserver.com/yournsf.nsf/JSLibrary.js?OpenFileResource
You can find all possible URL- commands in your designer help or in this URL cheat sheet
My project I am currently working on will allow users to upload files to an apache FTP server and then a link will be generated for them to view the file.
Does anyone have code that works for them that they could share? Thanks
You can have a look to apple project SimpleFTPSample
you can find a complete project with code ...
https://developer.apple.com/library/ios/samplecode/SimpleFTPSample/Introduction/Intro.html
I am looking to use webRTC for my college project. The example(http://simpl.info/getusermedia/) works nice (asks the permission to access the webcamera) whenever i access them from internet but after i download the source(even from github) it does not work, it does not even ask the permission for accessing the camera. any help? Thanks.
The WebRTC API does not work unless it is being hosted. Simply opening the html files and running the scripts will not work.
So, I bet if you host it(Apache, VisualStudio, etc), it will work just fine.