MV via ftp (moving files around on a remote server)

Sannyasin Sivakatirswami katir at
Tue Oct 15 15:00:00 EDT 2002

Dave, thanks. studied the RFC's,

Right, MV doesn't appear to be a standard FTP command,
But RNFR and RNTO work great!

put "RNFR /public_html/transcripts/hold/9-12-02.txt" into oldPath
put "RNTO /public_html/transcripts/Used--discard/9-12-02.txt" into 
get libUrlFtpCommand(oldPath,"","myName","myPassword")
get libUrlFtpCommand(newPath,"","myName","myPassword")

# the above two commands must be run in immediate succession

answer it

# returns "RNTO command successful"
# effectively moves the file from one directory to another.

The above could be a useful addition to your example syntax for that 
command in the documentation.

Himalayan Academy Publications
Sannyasin Sivakatirswami
katir at,,,

More information about the use-livecode mailing list