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

[REBOL] FTP Absolute Path Problem Re:(2)

From: cribbsj:oakwood at: 19-Sep-2000 15:36

Michael, thanks for the help. You are right, of course. If I ftp in from the command line, it takes me to the home directory of whoever I log in as. So, of course, Rebol will operate the same way. I'm going to try your soft-link idea. Thanks again for the help! On Mon, 18 Sep 2000, you wrote:
> I don't think this is an FTP issue; I believe the issue has to do with your > machine's setup. Your machine recognizes your user name and sets your HOME > path. Your machine forces FTP to prepend the HOME path. I could be wrong, > but I don't think FTP can work around this. This is a security feature of > the machine. > > You could always devise a work-around like %../../<path> or creating a > soft-link (in your HOME directory) to the directory you want. > > - Michael Jelinek > > [cribbsj--oakwood--org] on 09/18/2000 11:32:51 AM > > From: [cribbsj--oakwood--org] on 09/18/2000 11:32 AM > > Please respond to [list--rebol--com] > To: [list--rebol--com] > cc: > Subject: [REBOL] FTP Absolute Path Problem > > I'm having the following problem: > > I want to load a file that resides on a server under the absolute path of > /var/local/ecdr/data/. However, when I use the ftp command, it always > thinks I > want to do relative addressing from my home directory. > > I have tried: > > records: load ftp://ecdr:[ecdr--130--102--200--43]/var/local/ecdr/data/cdr_out > > and also: > > records: load ftp://ecdr:[ecdr--130--102--200--43]//var/local/ecdr/data/cdr_out > > and even: > > records: load join ftp://ecdr:[ecdr--130--102--200--43] > %/var/local/ecdr/data/cdr_out > > but it always tells me that rebol is looking for > "./var/local/ecdr/data/cdr_out". In other words, it is looking under > /home/cribbsj/var/local/ecdr/data/cdr_out, which, of course, does not > exist. > > In short, does anyone know how to make the ftp command use absolute path > addressing as opposed to relative path addressing? > > Any help would be greatly appreciated! > -- > Jamey Cribbs > Sr. Technical Consultant
-- Jamey Cribbs Sr. Technical Consultant