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

[REBOL] Re: redirecting from http to ftp

From: ryan:christiansen:intellisol at: 28-Jun-2001 11:29

Whoah! As you can see from this echo output, REBOL keeps adding a "/" to its GET operation and keeps trying... What's up with that? Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET /bob/232/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET //bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET ///bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET ////bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET /////bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET //////bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET ///////bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET ////////bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET /////////bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET //////////bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET ///////////bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } Net-log: "HTTP/1.1 301 Moved Permanently" Net-log: ["Opening tcp for" HTTP] connecting to: www.bebits.com Net-log: {GET ////////////bob/232/ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL 2.5.0.3.1 Host: www.bebits.com } 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] [ryan--christiansen--inte] llisol.com To: [rebol-list--rebol--com] Sent by: cc: [rebol-bounce--rebol--com] Subject: [REBOL] redirecting from http to ftp 06/28/2001 09:36 AM Please respond to rebol-list In Internet Explorer, when I go to this URL http://www.bebits.com/bob/232/MailToI.zip Internet Explorer redirects to this URL ftp://ftp.vortex.is/pub/be/jonr/MailToI.zip I am trying to make REBOL perform the same redirection. When I use the following... port: open http://www.bebits.com/bob/232/MailToI.zip redirect-url: make url! probe port/url REBOL gets "stuck" and simply reconnects over and over again to the http URL and never receives the ftp URL as input. What am I missing? 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]