FTP To and From My Mac
    Mark Schonewille 
    m.schonewille at economy-x-talk.com
       
    Tue Aug  9 16:46:29 EDT 2011
    
    
  
Hi Gregory,
Check the libUrlFtpUploadFile command. Use the libUrlFtpCommand command to send the LIST or NLST ftp command to your ftp server and retrieve a list of files together with their details. You can alos use the libUrlSetFTPListCommand. I think that the put URL command is also able to return a list of files if using the ftp protocol. IIRC, using NLST with libUrlSetFTPListCommand will change what is returned by put url.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers.
On 9 aug 2011, at 22:31, Gregory Lypny wrote:
> Hello everyone,
> 
> I’ve got my Mac at work running as a server of sorts and would like to be able to read and write files to it via FTP.  I used the simple GET URL command below and it worked for a 6 KB file but not for a 200 KB file.
> 
> get url "ftp://username:password@serverAddress/Users/me/Documents/pathToFile”
> 
> How can I get it working for bigger files?  I also tried
> 
> 	libURLSetFTPMode “active”
> 
> but it didn’t get me the bigger file.  Also, it would be nice if the date and time could be retrieved from the remote Mac or from a time server, but I don’t know how to do that.
> 
> Any advice would be much appreciated.
> 
> Regards,
> 
> Gregory
> 
    
    
More information about the use-livecode
mailing list