putting a file to a web server

Chipp Walters chipp at chipp.com
Mon Dec 10 19:40:01 EST 2001


Andu

My understanding of this is:
IIS and other servers don't support the PUT feature. They support POST and
GET, but custom headers are typically written to tell the server what MIME
type etc.. FTP gets around this and is easier to use but less secure.
Currently, RR uses the PUT mode of sending files via http to servers.

I'm talking about some things I don't fully understand, but this is how it
was explained to me. I tried the put command and the server couldn't
recognize nor do anything with it.

-Chipp

-----Original Message-----
From: use-revolution-admin at lists.runrev.com
[mailto:use-revolution-admin at lists.runrev.com]On Behalf Of andu
Sent: Monday, December 10, 2001 5:41 PM
To: use-revolution at lists.runrev.com
Subject: Re: putting a file to a web server


Chipp Walters wrote:
>
> Good idea, but I don't want to have to deal with all the permission
settings
> for each and every directory I want to upload to. Potential security risk.
> The directories are typically webpage directories I'm uploading to.

I don't get it, if you don't have the write to access a directory, what
is the way to put files in it short of asking the administrator to do it
for you. One assumes that if you use a web hosting service you do have
rights to access any directories within your domain either via ftp or
http if the web server supports uploads.

>
> -Chipp
>
> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of andu
> Sent: Monday, December 10, 2001 3:27 PM
> To: use-revolution at lists.runrev.com
> Subject: Re: putting a file to a web server
>
> Chipp Walters wrote:
> >
> > I tried:
> >
> >  put url "file:c:\test.txt" into url "http://myserver.com/test.txt"
> >
> > to put a file on my server and it doesn't work. It appears that RR uses
> > "PUT" and IIS doesn't support this (I think). If anyone has done this
> > successfully, please let me know.
>
> I don't think any public web server would allow PUT without
> authentication even if it did support it.
> Try
> put url "file:c:\test.txt" into url
> "http://username:password@myserver.com/test.txt"
> and make sure you have the right permissions to upload files.
>
> As to using ftp, why not upload it directly to the correct directory.
>
> >
> > The alternative is to FTP a file up to a server, then use an ASP page to
> > copy it to the correct directory.
> >
> > -Chipp
> >
>
> --
> __________________________
>  Regards, Andu
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution

--
__________________________
 Regards, Andu
_______________________________________________
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