Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Using SetDirectory to Set to a Remote Computer

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128075] Using SetDirectory to Set to a Remote Computer
  • From: Gregory Lypny <gregory.lypny at videotron.ca>
  • Date: Thu, 13 Sep 2012 03:41:04 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Hello everyone,

Is it possible to set the directory to a remote computer?  I would like to use Mathematica to get a listing of files on a Mac that I have at a second office.  I have tried to do this using a number of directory paths, but I always get an error saying that Mathematica cannot set the directory.  I used

SetDirectory[thePath];

Here are two of many paths I've tried, all unsuccessfully.

thePath  = "username:password at myServer.address.ca//Users/username/Documents/folderName/";

and

thePath  = "username:password at myServer.address.ca//Documents/folderName/";

The first works with an FTP client such as Interarchy, but of course, SetDirectory may not be doing FTP.

Any thoughts?

Gregory



  • Prev by Date: Puzzlement about In and Out with Wrappers
  • Next by Date: Substitute variable name for value (reverse of simplification)
  • Previous by thread: Puzzlement about In and Out with Wrappers
  • Next by thread: Substitute variable name for value (reverse of simplification)