Author |
Message
|
matuwe |
Posted: Thu May 17, 2012 1:37 am Post subject: File transfer via SCP to a destination without agent |
|
|
 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 |
|
 |
zpat |
Posted: Thu May 17, 2012 2:01 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Why not use SFTP? Look at the protocol bridge. |
|
Back to top |
|
 |
matuwe |
Posted: Thu May 17, 2012 2:45 am Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Thu May 17, 2012 2:53 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
mqjeff |
Posted: Thu May 17, 2012 3:34 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Thu May 17, 2012 3:46 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
mqjeff |
Posted: Thu May 17, 2012 3:56 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Thu May 17, 2012 3:57 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
Vitor |
Posted: Thu May 17, 2012 5:41 am Post subject: |
|
|
 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 |
|
 |
matuwe |
Posted: Thu May 17, 2012 6:00 am Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Thu May 17, 2012 6:45 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
|