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

ftp up one directory

 [1/2] from: ryan::christiansen::intellisol::com at: 14-Mar-2001 17:39


I am having trouble accessing a file which is in a directory above my default access directory. The file I want to reach is web.log and here is where it lies / /logs/web.log /web/ When I use the following dir-list: load ftp://username:[password--domain--dom] REBOL returns [%web/] as if the directory /logs doesn't exist. I have no problems using CuteFTP and accessing the /logs directory with the same username and password. I also tried log-file: read ftp://username:[password--domain--dom]//logs/web.log and log-file: read ftp://username:[password--domain--dom]/./logs/web.log but I always get the error "No such file or directory." Suggestions? Ryan C. Christiansen Web Developer Intellisol International 4733 Amber Valley Parkway Fargo, ND 58104 701-235-3390 ext. 6671 FAX: 701-235-9940 http://www.intellisol.com Global Leader in People Performance Software _____________________________________ Confidentiality Notice This message may contain privileged and confidential information. If you think, for any reason, that this message may have been addressed to you in error, you must not disseminate, copy or take any action in reliance on it, and we would ask you to notify us immediately by return email to [ryan--christiansen--intellisol--com]

 [2/2] from: sterling:rebol at: 14-Mar-2001 17:14


try: log-file: read ftp://username:[password--domain--dom]/../logs/web.log Some ftp servers will not let you go back like that but you'll get an error, I assume, if that's the case. Sterling