Writing file out to another machine

R

RVince

I have a project whereby I need it to write out a file to a different
server (that the originating server has write access to). So, say I
need to write out from myserver1, where my app is running, onto, say
S:/IT/tmp how can I specify/do this? Thanks, RVince
 
J

John Gordon

In said:
I have a project whereby I need it to write out a file to a different
server (that the originating server has write access to). So, say I
need to write out from myserver1, where my app is running, onto, say
S:/IT/tmp how can I specify/do this? Thanks, RVince

scp file host:/some/location
 
T

Terry Reedy

I have a project whereby I need it to write out a file to a different
server (that the originating server has write access to). So, say I
need to write out from myserver1, where my app is running, onto, say
S:/IT/tmp how can I specify/do this? Thanks, RVince

open('S:/IT/tmp','w') ??
 
C

Chris Angelico

I assume he intended "S:" to indicate a remote server.

The most obvious understanding of it is a drive letter (ie Windows
box). But if not, more clarification is needed.

ChrisA
 
T

Terry Reedy

The most obvious understanding of it is a drive letter (ie Windows
box).

More exactly, a remote server filesystem 'mounted' (not sure of the
Windows' term) as a local drive. I am pretty sure I have read of this
being done.
But if not, more clarification is needed.

Definitely.
 
D

Dennis Lee Bieber

More exactly, a remote server filesystem 'mounted' (not sure of the
Windows' term) as a local drive. I am pretty sure I have read of this
being done.
<right-click>"My Computer"

"Map Network Drive"

So I suspect you could refer to it as a "mapped" filesystem.
 
D

Dave Angel

<right-click>"My Computer"

"Map Network Drive"

So I suspect you could refer to it as a "mapped" filesystem.
Or you could refer to it as a 'net use' drive, since that's the
commandline way to mount it on Windoze.

DaveA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top