473,327 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

windows service logon to remote server

I have a windows service running on my server. I need to copy a file from a
remote linux server that requires a username and password. Can this be done?
If so how?

--
Dave
Nov 21 '05 #1
3 1120

"DaveF" <df*****@geodecisions.com> wrote in message
news:em**************@TK2MSFTNGP14.phx.gbl...
I have a windows service running on my server. I need to copy a file from a remote linux server that requires a username and password. Can this be done? If so how?


First you have to consider what account the service is running under. If
it's LocalSystem, you will be severly limited in your ability to go "outside
of the box." Second, what mechanism will you be using to talk to the Linux
server? This will determine what you'll need to do to pass the login
credentials.
Nov 21 '05 #2
Well. I have not written it yet. I usally run the service under a created
user name with admin permissions. Not sure what to use for the linux part

--
Dave
"Jeff Johnson [MVP: VB]" <i.***@enough.spam> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...

"DaveF" <df*****@geodecisions.com> wrote in message
news:em**************@TK2MSFTNGP14.phx.gbl...
I have a windows service running on my server. I need to copy a file
from a
remote linux server that requires a username and password. Can this be done?
If so how?


First you have to consider what account the service is running under. If
it's LocalSystem, you will be severly limited in your ability to go

"outside of the box." Second, what mechanism will you be using to talk to the Linux
server? This will determine what you'll need to do to pass the login
credentials.

Nov 21 '05 #3
Look at SMB for linux.

Either that or could you not create a FTP script?

HTH
MCN

"DaveF" <df*****@geodecisions.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Well. I have not written it yet. I usally run the service under a created
user name with admin permissions. Not sure what to use for the linux part

--
Dave
"Jeff Johnson [MVP: VB]" <i.***@enough.spam> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...

"DaveF" <df*****@geodecisions.com> wrote in message
news:em**************@TK2MSFTNGP14.phx.gbl...
I have a windows service running on my server. I need to copy a file from
a
remote linux server that requires a username and password. Can this be

done?
If so how?


First you have to consider what account the service is running under. If
it's LocalSystem, you will be severly limited in your ability to go

"outside
of the box." Second, what mechanism will you be using to talk to the

Linux server? This will determine what you'll need to do to pass the login
credentials.



Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jiho Han | last post by:
This seems like a often-asked topic. I created a windows service and installed it on my workstation. The application basically goes out and "receieves" messages from a queue on a remote server....
7
by: Mullin Yu | last post by:
if i put the same code at the windows application or console, i can logon to the computer. but, if i put the same code at the windows service and start it, i still can't logon to the machine. ...
2
by: Mark | last post by:
I created an extremely simple windows service that only writes to the EventLogs on Stop and Pause. I installed it using the InstallUtil.exe program, the output of which is below. It appears to be...
4
by: Jasleen | last post by:
I have written one Widows Service in ATL, having a ATL component running. Now it is very easy to create the VC client by calling CoCreateINstanceEx to create the component running in the service...
5
by: Mark Rae | last post by:
Hi, I'm looking for advice concerning what to do if a Windows service does not find a "viable" working environment at startup. E.g. I have a Windows service which does the following: 1)...
6
by: Bijesh | last post by:
Hi All, I've developed a Windows Service that acts as a remoting server (.NET Remoting). The client(user) is able to connect to the server and start a program by giving the executable path of...
17
by: UJ | last post by:
Is there any way for a windows service to start a windows program ? I have a service that will need to restart a windows app if it needs to. TIA - Jeff.
1
by: eblackmo | last post by:
I have a test network consisting of four servers running windows 2003 server R2 SP2. I have set up a domain which functioned correctly for about a day and a half until the other servers decided they...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Description NOTE- If you are unfamiliar with the concept of autoruns, then read "Windows Autorun FAQs: Overview". Que-1: How can I safely remove or edit the autorun...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.