Re: [MacPerl] generating files

2002-07-01 Thread Nicholas G. Thornton
> 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.

Re: [MacPerl] generating files

2002-07-01 Thread Bart Lateur
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

Re: [MacPerl] generating files

2002-07-01 Thread Bart Lateur
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

Re: [MacPerl] generating files

2002-06-30 Thread Nicholas G. Thornton
--- 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 ---

[MacPerl] generating files

2002-06-30 Thread Nicholas G. Thornton
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