Apache/CGI Bin Accessing mounted SMB share

Hey Guys,

I need to copy some files from my Apache server to SMB share ...

    copy $file,"/Volumes/v1/x/test/$datestamp$name$suffix"

Unfortunately this command when executed from Apache/cgi-bin is not able to access mounted volumes .. is there anything that can be done about that ... Can I allow apache to access mounted shares ?

Thank You

should remove , from your command:

copy $file    "/Volumes/v1/x/test/${datestamp}${name}${suffix}"