remote

Creating New Accounts Remotely with Drupal

I'm presently building (at this point, prototyping is a better term) a paid subscription site using Drupal. After searching through the Drupal modules - I haven't been able to find anything that will allow me to create a new Drupal account once the user has visited my landing page, decided they want to subscribe, and provided their valid...

Increase performance on DELETE/INSERT on remote server

In this scenario there are two database servers: one is in our LAN (Server A) and one on our remote location (Server B). We want to transfer the data of our projects from Server A to Server B. To do this we first remove the existing data on Server B for a certain ProjectID and after that simply insert the data from Server A to Server B....

All possible ways to read a file from a remote server

Hello, i want to provide most possible flexibility for my script and so i need all possible ways in php and javascript to read the content(not sourcecode) of a php file from a remote server. so far i found curl, fopen and include for php and none for javascript, but i dont even know if this is possible with javascript. Thanks for any hin...

How do I scan a remote file system efficiently?

I do have a time limit and would like to know what is the efficient way to scan file system remotely (talking about 50 millions of files in the extreme case)? The command dir takes ages (approx time 20 hours!!!). ...

java.io.FileNotFoundException when retrieving a url with umlauts in the filename

I am trying to retrieve a url with an umlaut in the filename, something like "http://somesimpledomain.com/some/path/überfile.txt", but it gives me a java.io.FileNotFoundException. I suspect that the filename on the remote server is encoded in latin1, though my url is in utf8. But my tries to change the encoding of the url weren't success...

loading remote page into DOM with javascript

I am trying to write a web widget which will allow users to display customized information (from my website) in their own web page. The mechanism I want to use (for creating the web widget) is javascript. So basically, I want to be able to write some javascript code like this (this is what the end user copies into their HTML page, to ge...

Deploy ASP.NET app to remote server

I am looking for a solution to deploy ASP.NET application from SVN in one server to other remote web server. FTP is not allowed. Other tasks than file copy should be done - e.g. create virtual directory. Which tools would you use? Remote server could have MSBuild or NAnt installed but how to securely copy files from SVN server to web se...

Configuring Remote Database Connection Strings within SQL CLR Assemblies

I'm writing a SQL CLR assembly that will be deployed to a third-party database server, but which needs to execute stored procedures residing in my database server. All the pieces are in place, but I don't know how to make the connection string configurable. Articles such as this: http://msdn.microsoft.com/en-us/library/ms345135%28SQL.90%...

jQuery remote validation race condition

I'm having a problem with the jQuery validate plugin and the remote validation rule, used in combination with the jQuery form plugin. So I use the jQuery form plugin to intercept to form submition and if the validation fails, the form is not submitted. However, if the remote rule is already being validated (waiting for an answer from th...

git: rename remote branch

I have the branch master which tracks the remote branch origin/master. I want to rename them to "master-old" both locally and remote. Is that possible? For other users who tracked origin/master (and who updated their local master branch always just via 'git pull'), what whould happen after I renamed the renamed the remote branch. Would ...

log information of remote login in xp

how can i get the user log information, who accessed the system using remote login for windows XP. ...

How to run shell script on remote machine from Java?

I'm creating a test which will perform some stress testing of the app which talks to a Postgres database. In order to make it replicable I'd like to recreate the database on every run. Startup method decorated with org.junit.Before annotation will drop the database (if it exists) and restore it from a dump file. Doing this form shell/com...

How to ask a remote windows machine to automatically launch an application?

I have a windows server 2003 up in the internet. But sometime I need to restart it. After restart, I want one of the applications to run. I want to do this all programatically. I can now remotely restart the server. But the question is how can I ask that piece of software to be executed (more precisely, I want to execute a .BAT file to...

How to connect to server via ssh but use native "Connect to Server" in OS X?

I have a remote server I manage via command line on Snow Leopard. I ssh into it, etc. All of my ssh keys are setup, and I have configured a local alias that lets me login with one command. What I'd also like to do is be able to connect to it via ssh, but have it mounted locally as a remote drive. I've tried the Connect to Server, comman...

Pushing to bare Git repository (remote) causes it to stop being bare

I have a local repository called TestRepo. I clone it with the --bare option, zip this clone up, and throw it on my server. Unzip it, and it's still bare. I then clone the bare remote repository locally over ssh with something like git clone ssh://[email protected]/~/TestRepo.git TestRepoCloned The local TestRepoCloned is not bare and ha...

How to start a process on a remote machine in C++ under Windows

Hi! I'm using Dev-C++ under Windows. My question is how can i start a process on a remote machine? I know that PsExec can do that, but if it's possible, i want to avoid to use it. If someone can give some example code, i would appreciate it :) Thanks in advance! kampi ...

appengine remote api unable to login

When I go to appengine.google.com/a/mydomain.com i am able to login and see all my apps and administer them. However, when I try to use the remote_api the same username/password does not work. I'm using the interactive console code from http://code.google.com/appengine/articles/remote%5Fapi.html ...

How to debug JSP running inside a portlet in WebSphere 5.0.2 with Intellij IDEA?

I'm trying to remote debug JSPs using "JSR45 Compatible Server" configuration type in IDEA. My breakpoints do work in *.java files (after some dark magic tweaks, though) but breakpoints inside JSP don't. I tried settings breakpoints inside or outside scriptlets, in tag invocations, etc - none worked. WebSphere 5.0.2 runs on java 1.3. ...

Correct command to retrieve remote mercurial updates pushed from my second machine

I'm new to Mercurial. I initialized a Mercurial project on Machine A, committed my changes and uploaded them to a remote repository. Then I cloned that repository on Machine B, committed some additional changes and uploaded them to the same remote repository. In both cases, I uploaded the changes with the same command: hg push https...

Storing Nhibernate ISession in Remote object contexts

Im currently building a remote object service that will expose a Server Activated object (per call, not singleton) that uses NHibernate. What i would like to know is there a way to tie a Nhibernate Isession to a .net Remote equivalent to the HttpSession.Context- an ISession per call of my remote object. I have a feeling that a per threa...