FTP To and From My Mac

Dave Cragg dave.cragg at lacscentre.co.uk
Tue Aug 9 16:55:12 EDT 2011


On 9 Aug 2011, at 21: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.  

-- Can you try with regular ftp client software (Fetch, etc.)? Do you get the same problem?

-- Is any error returned in "the result"? For example:

   get url "ftp://username:password@serverAddress/Users/me/Documents/pathToFile”
   if the result is not empty then answer the result

-- Try using libUrlSetLogField to record the activity. It may give a hint. 

    (assuming you have a field named "log")
    libUrlSetLogField the long id of field "log"
    get url "ftp://username:password@serverAddress/Users/me/Documents/pathToFile”


Cheers
Dave






More information about the use-livecode mailing list