putting a file to a web server

andu undo at cloud9.net
Mon Dec 10 16:31:01 EST 2001


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



More information about the use-livecode mailing list