Creating a Directory on an FTP Server
Mac OS 9 Mac OS X Windows Linux

>Knowing nothing about FTP, what command do I send with the new LibURL
>internet library to create a new folder on an FTP server? I'm assuming
>that there's no built in way to do this, right? Thanks!

If you upload a file to a nonexistent FTP directory, the directory is created for you, so you can use that as a workaround:

-- create an empty file in the nonexistent directory:
put empty into URL ""

-- this creates the directory and the file in it. Now delete the
-- unwanted empty file to leave just the new directory:
delete URL ""

Posted 8/5/2002 by Jeanne A. E. DeVoto to the Use-Revolution List   (See the complete post/thread)