in reply to RE: Perl and Shared drive
in thread Perl and Shared drive

I tried this too.suppose my servername is nj7001pdcpublic, there is directory SAPTreasTeam. then there is subdorectory under SAPTreasTeam called SWIFT.and file under that subdirectory called Swift. how would you access this in perl.I tried
$drvSwift="//nj7001pdcpublic/SAPTreasTeam/SWIFT/Swift";
it's not working any suggestions.

Replies are listed 'Best First'.
RE: RE: RE: Perl and Shared drive
by zzspectrez (Hermit) on Nov 07, 2000 at 09:33 UTC

    Ok. You need to be more specific. What is not working. What is the rest of the code. What is the error returned. What type of file.

    Couple things come to mind. First of, do you have privelages to access the file? With Win98 you can set passwords for shares. With Win2k and NT files have privelages.

    If this is not the problem. The biggest thing that comes to mind looking at that path is what kind of file is it?? You have no file extension. Most files in the windows world have a file extension but they are not shown by windows. For example, if it was a text document in would be swift.txt if a word document swift.doc or if it was excel document swift.xls. Could you be accidently forgetting something simple as a file extension??

    Hope that helps!
    zzspectrez