making directory in ftp

Dave Cragg dcragg at lacscentre.co.uk
Thu Feb 14 17:48:01 EST 2002


At 2:37 pm -0500 14/2/02, Johnson, David wrote:
>Is it possible to use ftp and a URL reference to create a new
>directory on an ftp server?

put <data> into url "ftp://host/dir1/dir2/file" will create a 
directory if it doesn't exist, but in the current Rev version, only 
at a single depth. So in the the above example, if dir2 is missing it 
will get created, but if dir1 is also missing it won't.

But you must create the file too. But you could create the file and 
then delete it if you only want the directory.

Cheers
Dave Cragg
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!



More information about the use-livecode mailing list