Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25603

Re: Need help connecting via a remote VPN

Date 2012-07-18 21:59 -0400
From Dave Angel <d@davea.name>
Subject Re: Need help connecting via a remote VPN
References <ju7oac$2fh$1@speranza.aioe.org>
Newsgroups comp.lang.python
Message-ID <mailman.2284.1342663213.4697.python-list@python.org> (permalink)

Show all headers | View raw


On 07/18/2012 09:36 PM, The Coca Cola Kid wrote:
> I need to connect to a site/server that's only accessible after
> logging into a remote VPN, then scan a directory for a file pattern
> and then copy those files.  I know how to do the latter using glob,
> and I think I figured out how to connect to the VPN using win32ras and
> got a response that said "302 Found" but I'm not sure what to do after
> that.  Some people recommended using SSH or fabric.api modules, but I
> couldn't find any examples that applied to what I'm trying to do.

Starting a VPN simply makes it possible for IP packets to get to the
specified machine.  You still need to match some protocol that the
particular remote machine can handle.  SSH is probably the most common,
but there are lots of other possibilities, some standard and some
custom.  So the question is what does the remote machine (server)
support for file access?

glob will work if the server supports mounting the remote partition as a
file system.  But there are no guarantees that that's possible.  You
haven't even said what the two operating systems involved are, though I
can guess that the local machine is some version of Windows.


-- 

DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need help connecting via a remote VPN "The Coca Cola Kid" <thecocacolakid@gmail.com> - 2012-07-18 20:36 -0500
  Re: Need help connecting via a remote VPN Dave Angel <d@davea.name> - 2012-07-18 21:59 -0400
    Re: Need help connecting via a remote VPN "The Coca Cola Kid" <thecocacolakid@gmail.com> - 2012-07-19 20:41 -0500
      Re: Need help connecting via a remote VPN Dave Angel <d@davea.name> - 2012-07-19 21:58 -0400

csiph-web