Upload a file into a VB.NET application running under terminal services - vb.net

We are developing an application in VB.NET that will need to accomodate remote users logging onto a Microsoft Terminal Server using RDP through the MSTSC.exe client.
Is it possible to offer an 'Upload' button which will allow the remote user to pick a file from his/her local hard drive and upload to the server ?

In the Windows Remote Desktop client, each user will have to enable an option. Under Local Resources, press More.... Here you can select the local drives you want the Terminal Server to see. The drives will come up as a network drive on the Terminal Server.
I don't know if you need to set up anything on the Terminal Server. You may need to open additional ports on the firewall.

Related

tramp not authenticating on windows

I'm experiencing a problem when trying to connect to a remote linux server using tramp and putty on windows.
I'm using the following function to call and connect to the remote server
(defun server-connect ()
"Tramp-connect to remote system home folder"
(interactive)
(find-file "/plink:myusername#server_address:~")
)
And by using it I can successfully open a dired buffer to the remote server home folder (although sometimes I experience an authentication problem at this point as well).
The problem is after I open a remote file, make edits, and try to save those edits, tramp asks for my password again. At this point I type my password and tramp doesn't seem to be able to authenticate it, because it continues to ask me my password until the remote server blocks me out due to too many failed attempts.
The same thing happens if I try to open a remote REPL through ESS for example.
I don't have much experience with tramp, and debugging this has been really hard, because any time I'm locked out of the remote server I have to wait for 24h.
Thank you,

Can we use BLPAPI remotely?

The SDKs at https://www.bloomberg.com/professional/support/api-library/ allow you to connect to localhost 8194 to fetch data. Please correct if any of the following is incorrect:
The use of the SDK requires the installation of a Terminal software on the PC where the program using the SDK is being run.
The Terminal software creates an endpoint listening on port 8194 through which the data can be fetched.
Question:
Is it possible for another computer in the local network to run the SDK and connect to the computer that hosts the Terminal service?
Does the Terminal service license support such use wherein the data leaves the PC and gets pulled to a different PC?
Regards
No, it is not technically possible to connect to another PC which is running the Terminal and even if you can get around this it is not allowed by the license. Data downloaded on a PC running the Terminal must stay on that PC.
Bloomberg offers 2 solutions which don't require the Terminal to run and do require authentication: Server API (SAPI) and B-PIPE. To clarify, because you're describing having to run the Terminal on the PC you're necessarily talking about Desktop API.

Browser based document scanning

I am building a browser based application for document scanning. I have looked at offerings from multiple providers like dynamosoft, asprise, atalasoft etc. My basic question on browser based document scanning is that does any of these products enable scanning from remote machines, using browser based interface? Or should scanner be always connected to the system from where browser is launched?
Yes. Browser based document scanning relies on the communication between a local service and the web client. Usually, you need to download the installer of the local service when browsing an online demo of document scanning at the first time. If you want to scan documents from a remote machine, just deploy the service on that machine. Then change the IP for web socket connection.
For example, here is the architecture of Dynamic Web TWAIN.
The scanner should be always connected to the system from where the local service (not the web browser) is launched.
You can watch the video to see how to use Raspberry Pi as the scanner service to capture documents from iMac.
Yes, There is a Application that enable scanning on remote machine. When someone open the browser a connection between web browser and that local machine application established. This connection is done easily by HTML5 Web Socket. Local application do scan and send this image via this connection to your Browser.
Here is the open source repository,
ScanAppForWeb
I'm hoping this will be helpful, though it's not a direct answer to the question.
After spending a lot of time trying to get WebUSB to work try researching other options, I found a solution that works well for my web app. Simply use scanimage to scan to the server. The client sends and AJAX request, the server builds a command string to run with shell_exec in PHP, then use file_get_contents or whatever with the scanned image. In my situation, there's no reason for the scanner to talk to the client, since the image is going to end up in a database on the server anyway.
See also: https://stackoverflow.com/a/63198443/4509516
Extrieve HTTPTWAIN browser-based document scanning SDK support , document scanning from a remote PC. This require service client to be deployed on the remote PC and Web module should connect to the service using ip and port of the remote pc.
To Know more visit- https://www.extrieve.com/web-document-scanning/

Remote Desktop Connection monitors

I log into my work pc from home via VPN + Remote Desktop Connection.
When I log into my work PC, do the monitors invoke at work or stay locked and inactive?
In other words, when I working from home on my work pc, do others standing near my pc can see what I'm doing?
No, RDP takes over the console of the computer.
They however will be able to see on your monitor that You are logged in remotely to that specific computer.
They will see this for example:
http://msblog.blob.core.windows.net/wordpress/2010/11/17a043334c6bd9a1d37194f78df0af21.png

Reference on how to write my own RDP client

I want to be able to access some device specific data while running an application on a remote machine. The problem is that if the RDP window is minimized this data is not available. One solution I'm examining is writing my own RDP client so that the server machine always thinks that it has an active display (even when the client machine is locked).
Does anyone know of a reference on how to develop an RDP client (preferably in .NET)?
Check out Terminals at Codeplex. Open source multiple RDP client; browse the code for some hints.