1827892 Members
2025 Online
109969 Solutions
New Discussion

Secure FTP script.

 
Ravi_60
Occasional Contributor

Secure FTP script.

Hello ,

I did installed Secure FTP for HP in my system. ( T1471AA.depot ). Does SecureFTP works with file transfer from UNIX HP11.00 to any windows server?. If not, What is best method to send file with security.

How do i create automatic script for sending file from server A to server B.

Any help is appreciated.

RG.
4 REPLIES 4
RAC_1
Honored Contributor

Re: Secure FTP script.

You need to have some secure ftp client running on windowsz side. And when you sftp from Unix, you need to make sftp aware of the port, the windowz secure client will listen to.

You can rather get sftp executable for Windows and pull the files from Unix box.

Once you sftp set up,(by exchange of public/private keys) the script can be run with scheduler from Windows side. From Unix side, you can put it in cron.

The script would look like follows.

/full_path/sftp "file_to_sftp" host:/path_whereto_put_them

Anil
There is no substitute to HARDWORK
Sanjay_6
Honored Contributor

Re: Secure FTP script.

Ravi_60
Occasional Contributor

Re: Secure FTP script.

Hi Anil,

Thanks for your reply.
I have to transfer a file from my network to outside network. They are using windows operating system.
Where do i get secure sftp client for windows? Which client is compactable with our HP sftp.
Does sftp use default port or do i have to configure? Where do i get setup documentation for sftp?

your script line is good.

RG.
generic_1
Respected Contributor

Re: Secure FTP script.


Fsecure is a nice utility that has ssh and scp gui built into it to transfer files.
http://www.f-secure.com/