[REBOL] FTP and Absolute Directories Re:(2)
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-----
> From: [cribbsj--oakwood--org] [mailto:[cribbsj--oakwood--org]]
> Sent: Tuesday, October 17, 2000 3:01 PM
> To: [list--rebol--com]
> Subject: [REBOL] FTP and Absolute Directories
>
> 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
--
Jamey Cribbs
Sr. Technical Consultant