in reply to Re: Accessing files on another server within perl script
in thread Accessing files on another server within perl script

Thanks for your suggestion.

I just put the glob function in there to just give you guys an idea of what was going on. But you are right, it wasn't clear.

My main goal is to work with .txt files so I can parse them for proper records. These files are located on a different server and I need to access them from my server. Is there an easier way to use some sort of Perl command or something really easy so I can look into these files and validate them for proper data?

Thanks
  • Comment on Re^2: Accessing files on another server within perl script

Replies are listed 'Best First'.
Re^3: Accessing files on another server within perl script
by marto (Cardinal) on Aug 16, 2013 at 14:44 UTC

    "Is there an easier way to use some sort of Perl command or something really easy so I can look into these files and validate them for proper data?"

    You need to access the remote file. How you do so depends on what services the remote server has. Can you download the file via ftp/www? Can you mount the disk on the remote server containing these files?

    You then need to parse the files, what format are they? What do you consider "proper data"?

    Until scientists invent magic you're going to have to do some research. If you want help with something you have to provide enough information for people to make suggestions. How do I post a question effectively? has advice on this. It doesn't work isn't a response anyone can help you with.