libUrlBasicAuthToken(<name>,<password>)

Derek Bump webmaster at dreamscapesoftware.com
Fri Jul 23 17:09:12 EDT 2004


Ah, now I see.  Well, I've never tried to upload a file via HTTP post.  Instead what I do is upload the file via FTP and then post data to a script if needed.

With my current project I just download the database, make changes and then upload it.  Saves the trouble of multiple scripts.  Of course, ever circumstance is different, as I'm sure yours is.

Now the one thing that I am thinking is that maybe the file data is not being transfered correctly.  You said it works when in communication with the Windows server, but not the Apache.  Can you get into the Apache server's log and see if it is reporting anything?
 

Derek Bump
Dreamscape Software
____________________________________________
Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
 

----- Original Message ----- 
From: "macdev" <macdev at interaxia.com>
To: <use-revolution at lists.runrev.com>
Sent: Friday, July 23, 2004 1:22 PM
Subject: Re: libUrlBasicAuthToken(<name>,<password>) 


> 
> Hi,
> 
> I am looking at the results. However, my app is a little more 
> complicated. I am trying to post a file using
> multipartformdata and it works when I post to a window server.
> 
> It doesn't work when I post to a apache box. it seems that windows has 
> no problems.
> 
> It is getting the return page of the cgi script but it is not posting 
> files that I need to post.
> my runrev app spits back the results of the post.
> 
> I made a local html page using the same  http://username:password@url 
> and the same form variables and it works with both servers. a local 
> html page launched from a local browser has no problems.
> 
> -
> hung
> 
> 
> From: "Derek Bump" <webmaster at dreamscapesoftware.com>
> Subject: Re: libUrlBasicAuthToken(<name>,<password>)
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Message-ID: <009401c470e4$650494f0$19d4e6cf at WorkPC>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> > I've tried http://username:password@weburl and that doesn't work 
> > either.
> 
> That's odd.  I use this format (http://username:pass@whatever.com) as 
> opposed to the libUrlBasicAuthToken(<name>,<password>) command all the 
> time.  Are you checking the result to see if your getting any errors?
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 


More information about the use-livecode mailing list