Re: Mac vs. Windows

2008-10-05 Thread Ben Rubinstein

Chipp Walters wrote:

I use the @ sign all the time when accessing ftp on Windows XP and Vista.
I'm not sure what your problem is.


I think the problem is that the '@' sign is used in a convention that allows 
the username and password to be folded into the ftp URL; ie


ftp://username:[EMAIL PROTECTED]/path

In Ton's case, the username includes an @ sign.  The code has to parse the 
string into those five parts (protocol, username, password, machine, path). 
If there are two '@' signs in the string, that's ambiguous.


Arguably the surprise isn't that it throws things off on Windows; it's more 
surprising that it works on Mac.  Certainly I think it's surprising that it's 
different on the two platforms, you'd think that this parsing would be in the 
libURL transcript code, rather than in some platform-specific engine code.


But at any rate, the solution is to urlEncode the username and password when 
constructing such a URL (which will have the effect of replacing : with 
%3A, and @ with %40).


- Ben

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac vs. Windows

2008-10-05 Thread Ben Rubinstein

Ben Rubinstein wrote:
But at any rate, the solution is to urlEncode the username and password 
when constructing such a URL (which will have the effect of replacing 
: with %3A, and @ with %40).


Er... like Dave Cragg already wrote.  Must be more careful about the order I 
read messages...


- Ben

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac vs. Windows

2008-10-05 Thread Chipp Walters
Ben, Dave,

Thanks for the help. Clear now :-)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac vs. Windows

2008-10-04 Thread Richard Gaskin

Melitón Cardona Torres wrote:


A real mystery:

  put ftp://[EMAIL PROTECTED]:[EMAIL PROTECTED]/ into  
myURL


makes a connection in a Mac compilation, but not in a Windows one.

Yet, if a compare the string with the mactoISO of the string, they are  
identical.


How come one connects and the other (Windows) does not?

Any ideas or is it a bug?


Could it be that Windows or some third-party utility is preventing URLs 
with embedded passwords?


I know MSIE started blocking web pages with embedded passwords some 
years ago.  I wonder if they've extended that to the OS level, perhaps 
overidable in a Control Panel or some such.  Just a hunch.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac vs. Windows

2008-10-04 Thread Mark Schonewille

Ton,

You already posted this question. It would be useful if you quoted the  
previous message and kept the subject of the thread unchanged until  
the problem is solved.


What kind of error do you get? Is the result empty, after issueing the  
command? What syntax have you tried to check for problems?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum/

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
 for more info.


On 4 okt 2008, at 10:54, Melitón Cardona Torres wrote:


A real mystery:

put ftp://[EMAIL PROTECTED]:[EMAIL PROTECTED]/ into  
myURL


makes a connection in a Mac compilation, but not in a Windows one.

Yet, if a compare the string with the mactoISO of the string, they  
are identical.


How come one connects and the other (Windows) does not?

Any ideas or is it a bug?

Thanks in advance

Ton


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac vs. Windows

2008-10-04 Thread Dave Cragg


On 3 Oct 2008, at 17:36, Melitón Cardona Torres wrote:


I use this:

put ftp://[EMAIL PROTECTED]:[EMAIL PROTECTED]/ into gNewURL

and I get a connection to the FTP in the Mac compilation, but not in  
the Windows one.


Any ideas?


Try using urlEncode() on the name and password parts.

Ex:

put urlEncode([EMAIL PROTECTED]) into tName
put urlEncode(tkeyx33) into tPass
put ftp://;  tName  :  tPass  ftp.company.com/ into gNewUrl

But I'm not sure why your example would work on Mac and not Windows.

Dave___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac vs. Windows

2008-10-04 Thread Melitón Cardona Torres

First of all, thanks to all of you.

The problem is now solved:

instead of

[EMAIL PROTECTED]

one should use (in Windows)

ftp_celerlex%40celerlex.com

No comment.

Ton

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac vs. Windows

2008-10-04 Thread Chipp Walters
I use the @ sign all the time when accessing ftp on Windows XP and Vista.
I'm not sure what your problem is.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac vs. Windows

2008-10-03 Thread Mark Schonewille

Hi Ton,

Does it work if you use ftp_myFTP+myFTP.com or ftp_myFTP%myFTP.com  
instead of [EMAIL PROTECTED]


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum/

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
 for more info.


On 3 okt 2008, at 18:36, Melitón Cardona Torres wrote:


I use this:

put ftp://[EMAIL PROTECTED]:[EMAIL PROTECTED]/ into gNewURL

and I get a connection to the FTP in the Mac compilation, but not in  
the Windows one.


Any ideas?

Thanks in advance.

Ton Cardona


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac vs Windows 2

2008-10-03 Thread Mark Schonewille

Ho Tpn,

I suspect you mean my suggestions and I suppose you refer to your FTP  
problem. It would be useful if you quoted the previous message and  
kept the subject of the thread unchanged until the problem is solved.


What kind of error do you get? Is the result empty, after issueing the  
command? What syntax have you tried to check for problems?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum/

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
 for more info.


On 3 okt 2008, at 19:32, Melitón Cardona Torres wrote:

I have tried Mark's two kind suggestions, but they do not work  
(neither in Mac nor in Windows).


Funny, don't you think?

Thanks anyway

Tpn


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution