in reply to need to access a remote server to move the files around in a set folder there

Is this the same OP and issue as need suggestions as to how to run a script to acess and move files stored on a server.?

If you are just moving files around on a remote server, as opposed to needing to move them over a network, it'd probably be reasonable to just run a script on the server and use local file handling, perhaps with a module like File::Copy.

  • Comment on Re: need to access a remote server to move the files around in a set folder there

Replies are listed 'Best First'.
Re^2: need to access a remote server to move the files around in a set folder there
by smanicka (Scribe) on Dec 04, 2008 at 19:04 UTC
    I know that..but my script can not reside there due to some business rules.That server is used only for dumping and retrieving files.period . :( and yes, its the same topic.sorry about that.I was not a registered user yesterday and I couldn't find my annonymous post

      Is your remote server Unix-like or Windows based?

      Assuming a Unix-like system you are not allowed to run code on, looks like File::Remote would do what you need if your file analysis requires looking at file contents. If you are only interested in file names, mod dates, etc. you should probably use a command line interaction like Net::SSH or Net::Telnet, depending on what the server supports and what runs on your machine. Worst case, Net::FTP can do everything you need, though it would require you to transfer all files over the network twice to move them (not strictly true, but true enough).

      And listen to MidLifeXis - he's smarter than me.