> You must use FTP commands. [...]
Ah no, I think you misunserstood me :) I had the "print to FTP" version working
to start with, I was just teying to convert it to "print to local HD."
The open() thing suggested earlier turned out to work fine. It's just the sort
of thing I'd've overlooked.
On Mon, 01 Jul 2002 09:26:25 +0200, Bart Lateur wrote:
>You must use FTP commands.
Whoops. I now see that you're actually asking a much simpler question.
You don't need a change the directory (with chdir()), you can open files
with a longer path just fine. You just must make sure that the path
On 30 Jun 2002 22:04:42 PDT, Nicholas G. Thornton wrote:
>I have a program which is currently set up to generate files from a database and
>upload them to a website via FTP (using the same local temp file for each page
>before uploading it.)
>
>I want to alter it now to make all those files local
--- You wrote:
Not sure on mac, but can't you use :..:folder to go one up and then down
again ?
Or, if all folders are subfolders of the one containing the script :
open(FILE,">:subfolder:file1.txt");
open(FILE,">:subfolder2:fileX.txt");
or something like that...
Thomas
--- end of quote ---
I have a program which is currently set up to generate files from a database and
upload them to a website via FTP (using the same local temp file for each page
before uploading it.)
I want to alter it now to make all those files locally, putting them in the
correct folders et al. Now normal creat