Thanks Frank, this was the sort of thing I needed. Cheers, Sarah
Should work fine. Just upload the new file with .new at the end of the name, check the length, and if it looks good, do the rename.
Here's my rename code. The PWD is there from the debugging I was doing.
put libURLftpCommand("PWD", LFtpServer, LFtpUserName, LFtpUserPassword) into theResult1
put libURLftpCommand("DELE " & renameToFile, LFtpServer, LFtpUserName, LFtpUserPassword) into theResult2
put libURLftpCommand("RNFR " & renameFromFile, LFtpServer, LFtpUserName, LFtpUserPassword) into theResult3
put libURLftpCommand("RNTO " & renameToFile, LFtpServer, LFtpUserName, LFtpUserPassword) into theResult4
put libURLftpCommand("DELE " & renameFromFile, LFtpServer, LFtpUserName, LFtpUserPassword) into theResult5
-- Frank
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
