http://qs1969.pair.com?node_id=1030554


in reply to Re^2: x.25 with perl
in thread x.25 with perl

Assuming your network guys get the X.25 tunneling set up correctly on the Cisco routers, the packet transport should be transparent to your application. You just need an FTP client. TCP/IP hides the hardware layers from your application which is it's purpose after all.

Search PerlMonks for FTP. SuperSearch PerlMonks for FTP. Search CPAN for FTP and SFTP. Looks like Net::FTP, Net::FTP::File, or Net::SFTP should do what you need. I have no direct experience with any of these packages.

These modules should make your application pretty straight forward. There are many posts on this topic and I'm sure this task has been solved many times.

James

There's never enough time to do it right, but always enough time to do it over...

Replies are listed 'Best First'.
Re^4: x.25 with perl
by bh_perl (Monk) on Apr 27, 2013 at 13:31 UTC

    hi..

    is it i can used FTP to collect files from swicthes via X.25 protocol ?

    There are no ip address on the swicthes side. But i have ip address on the cisco route.

    So how could i collect files from the swicthes to our server ?

      Hello again:

      Yes, I am plan to tunnel IP via X.25. As your info, our server will connect into cisco router and the cisco router will connect into X.25 protocol to communicate with the swicthes. So, I plan to develop a perl program to collect files from the swicthes to our server via the connection.

      If you are tunneling IP over X.25 as you answered above, your switches will have to have IP addresses. FTP is part of the TCP/IP stack and should be available for copying your files. I think you need to discuss these transport issues with your network engineer or Cisco rep. Or google "Cisco 9362" for a document that describes TCP/IP over X.25. It contains a nice diagram of what I think you are wanting to do.

      What type of switch are you wanting to connect to? There could be more specific information on that topic on the Cisco site.

      James

      There's never enough time to do it right, but always enough time to do it over...

        hi...

        My server will connect to neax switch through cisco router.

        Please share if you have some guideline about it

        Thank you