ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ File Transfer Edition » File transfer via SCP to a destination without agent

Post new topic  Reply to topic
 File transfer via SCP to a destination without agent « View previous topic :: View next topic » 
Author Message
matuwe
PostPosted: Thu May 17, 2012 1:37 am    Post subject: File transfer via SCP to a destination without agent Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Hi

I need to do a new file transfer to a destination that does not have agent installed, plus I need to do the transfer via SCP. I am not sure where to start can some one help?

I saw one thread that was talking about curl, and i have been looking around for samples of how to use it, or documentation... please help
Back to top
View user's profile Send private message
zpat
PostPosted: Thu May 17, 2012 2:01 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Why not use SFTP? Look at the protocol bridge.
Back to top
View user's profile Send private message
matuwe
PostPosted: Thu May 17, 2012 2:45 am    Post subject: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Hi The destination can only receive in SCP... That is their prefered protocol... If I where to do it with SFTP, are there any examples that I can get of how to use it?
Back to top
View user's profile Send private message
zpat
PostPosted: Thu May 17, 2012 2:53 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

I don't actually use FTE. But the way I would approach it is

1. Get a SFTP working manually (outside FTE) from the command line.

2. Set up FTE protocol bridge according to the InfoCenter.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu May 17, 2012 3:34 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

FTE can't deliver files to systems that don't have an FTE agent installed.

FTE can deliver files to a system that has an agent installed, and then cause a script to run that can then do something further with that file - like run a batch file that just does scp.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu May 17, 2012 3:46 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Jeff - have you used the FTE protocol bridge?

It can do that.

Quote:
You can use the protocol bridge agent to perform the following actions:
•Upload files from the WebSphere MQ File Transfer Edition network to an FTP, FTPS, or SFTP server
•Download files from an FTP, FTPS, or SFTP server to the WebSphere MQ File Transfer Edition network
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu May 17, 2012 3:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

zpat wrote:
Jeff - have you used the FTE protocol bridge?

It can do that.

Quote:
You can use the protocol bridge agent to perform the following actions:
•Upload files from the WebSphere MQ File Transfer Edition network to an FTP, FTPS, or SFTP server
•Download files from an FTP, FTPS, or SFTP server to the WebSphere MQ File Transfer Edition network


Yeah, that's not scp though.

Back to top
View user's profile Send private message
zpat
PostPosted: Thu May 17, 2012 3:57 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Yes, but it contradicts your edict that

"FTE can't deliver files to systems that don't have an FTE agent installed. "

SFTP may be an acceptable alternative to SCP. It's standard on most systems.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 17, 2012 5:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

zpat wrote:
SFTP may be an acceptable alternative to SCP. It's standard on most systems.


But if the OP's target are insisting on SCP they may have disabled it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
matuwe
PostPosted: Thu May 17, 2012 6:00 am    Post subject: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Thanks guys. I managed to get a document sg247760.pdf which seems to give me some guidance of how to do the setup..

I will also try to follow the URL that you have shared with me...

But if anyone has already set this up, can you kindly share an ant script example of how to transfer file via ant sftp or to receive (monitor) files via sftp.

Very much appreciated
Back to top
View user's profile Send private message
zpat
PostPosted: Thu May 17, 2012 6:45 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Yes, but I was correcting the statement from Jeff - which stated that a licensed product (FTE) was needed.

Agents may be free now - but installing a product is not easy at most sites (takes time etc).

Using a standard protocol FTP, SFTP via the bridge is likely to be a lot easier to arrange.

This seems to me to be useful information. Not sure why you are whingeing about it.

THere is not a lot of reason to disable SFTP and allow SCP. But being told about the alternatives is why people come here surely?

At no time did I say "this is how to make SCP work". At no time did the OP say "I am not interested in hearing about any possible alternative to SCP even if it is another Unix standard feature."

Jeez.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ File Transfer Edition » File transfer via SCP to a destination without agent
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.