FTP queries
Alain Waltregny
alain at waltregny.be
Mon Jul 5 05:35:31 EDT 2004
Le 22/06/04 04:18, « Sarah Reichelt » <sarahr at genesearch.com.au> a écrit :
> 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
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list