On 5/9/06, Raimon Fernandez <[EMAIL PROTECTED]> wrote:
Is the file inside 'the web root directory' of Active4D ?You have to add outside folders or move the file to the 'web root' before trying to send it. See the Active4D.ini file Did you try this before document to blob ? If (Test path name($doc_path)=Is a document ) ` ok, the file exists ... Else ` error, the file doesn't exist or End if
I added it to the safe_dir directive in the ini file: safe doc dirs = /Users/Shared/PROJECTS/HLCOM/1197-PRApplication/v2.0.x/PR_CV_Uploads/ I tested the file with Test Path Name and it still didn't work. BUT Then looking at the pathname that Join Paths delivers, I noticed that it put the machine name in front of the path like this: /MRTEENY/Users/Shared/PROJECTS/HLCOM/1197-PRApplication/v2.0.x/PR_CV_Uploads/ When I added that to the ini file, it worked! This is odd because that is the same command we're using to upload and move a file. We used the first one (no machine name) to move the file adn it works correctly. But the download cannot find the file unless the machine name is added. Could this be a bug in the way 4D looks for a document path versus the way that A4D is expecting one? A4D required the machine path to be there for pulling the file, but it worked when moving the file. Hmm. Thanks so much, Michael Check _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
