SFTP: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
No edit summary
m (fixed a few typos)
Line 1: Line 1:
Many ISP no only support SFTP due to the open, unsecure nature of standard FTP<br />
Many ISP's now only support [http://en.wikipedia.org/wiki/Simple_File_Transfer_Protocol SFTP] due to the open, unsecure nature of standard FTP
As Cumulus does not currently support SFTP an external SFTP application must be used<br />


As Cumulus does not currently support SFTP an external SFTP application must be used
[http://winscp.net WINSCP] can be used <br />
Looking at http://winscp.net/eng/docs/script_upload_single_file, winSCP can be used to script SFTP<br />
You have run it by hand once, to allow the SSH key to be trusted, the it works on it's own


[http://winscp.net WINSCP] can be used
The following script works well<br />

Looking at http://winscp.net/eng/docs/script_upload_single_file, winSCP can be used to script SFTP

You have to run it by hand once, to allow the SSH key to be trusted, then it works on it's own

The following script works well
option batch abort
option batch abort
option confirm off
option confirm off
Line 12: Line 15:
put "localpath\realtime.txt" /remotepath
put "localpath\realtime.txt" /remotepath
exit
exit

<br />

changing User:pass@server to your username , password and server name combination<br />
*change User:pass@server to your username , password and server name combination
changing localpath\realtime.txt to the local path on you PC<br />

changing /remotepath to the remote path on the web server (as seen when you SFTP to the web site)
*change localpath\realtime.txt to the local path on you PC

*change /remotepath to the remote path on the web server (as seen when you SFTP to the web site)

Revision as of 16:51, 8 December 2009

Many ISP's now only support SFTP due to the open, unsecure nature of standard FTP

As Cumulus does not currently support SFTP an external SFTP application must be used

WINSCP can be used

Looking at http://winscp.net/eng/docs/script_upload_single_file, winSCP can be used to script SFTP

You have to run it by hand once, to allow the SSH key to be trusted, then it works on it's own

The following script works well

option batch abort
option confirm off
open User:pass@server
put "localpath\realtime.txt" /remotepath
exit


  • change User:pass@server to your username , password and server name combination
  • change localpath\realtime.txt to the local path on you PC
  • change /remotepath to the remote path on the web server (as seen when you SFTP to the web site)