Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

FTP and Absolute Directories

 [1/4] from: cribbsj::oakwood::org at: 17-Oct-2000 15:01


Some time ago I posted a question asking how I could ftp to a server and go to a directory that was not below my home directory. For example, I would like to ftp to another server here at work, and get a file located in /var/local/datamover/test1/. The problem is that Rebol seems to only let you specify relative directory paths below where you ftp in. So, if I use the ftp command and specify my user id and password, it will only let me reference a directory below my home directory. Perl, using the Net::FTP object lets me ftp using an absolute path. I'm hoping someone out there has an idea how I can do this in Rebol. I would really like to write this application in Rebol instead of Perl. Thanks in advance for the help! -- Jamey Cribbs

 [2/4] from: doug:vos:eds at: 17-Oct-2000 15:23


Did you try "../../path/path/path/goodfile.txt" ?

 [3/4] from: cribbsj:oakwood at: 17-Oct-2000 15:47


Hey, that worked! I did: read ftp://user:[password--111--111--111--111]/../../var/local/datamover/test1/testfile1 and it worked. Thanks very much for the help! On Tue, 17 Oct 2000, you wrote:
> Did you try "../../path/path/path/goodfile.txt" ? > -----Original Message-----
<<quoted lines omitted: 21>>
> -- > Jamey Cribbs
-- Jamey Cribbs Sr. Technical Consultant

 [4/4] from: g:santilli:tiscalinet:it at: 19-Oct-2000 13:29


[cribbsj--oakwood--org] wrote:
> Some time ago I posted a question asking how I could ftp to a server and go to > a directory that was not below my home directory.
Did you try ftp://user:[pass--site]/../../ ? Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted