putting a file to a web server

Chipp Walters chipp at chipp.com
Mon Dec 10 17:50:02 EST 2001


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.

-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




More information about the Use-livecode mailing list