SFTP: Difference between revisions
From Cumulus Wiki
Jump to navigationJump to search
Species5618 (talk | contribs) (Created page with 'Many ISP no only support SFTP due to the open, unsecure nature of standard FTP<br /> As Cumulus does not currently support SFTP an external SFTP application must be used<br /> …') |
Species5618 (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
You have run it by hand once, to allow the SSH key to be trusted, the it works on it's own |
You have run it by hand once, to allow the SSH key to be trusted, the it works on it's own |
||
The following script |
The following script works well<br /> |
||
option batch abort |
option batch abort |
||
option confirm off |
option confirm off |
||
Line 12: | Line 12: | ||
put "localpath\realtime.txt" /remotepath |
put "localpath\realtime.txt" /remotepath |
||
exit |
exit |
||
<br /> |
|||
works well<br /> <br /> |
|||
changing User:pass@server to your username , password and server name combination<br /> |
changing User:pass@server to your username , password and server name combination<br /> |
||
changing localpath\realtime.txt to the local path on you PC<br /> |
changing localpath\realtime.txt to the local path on you PC<br /> |
Revision as of 12:38, 8 December 2009
Many ISP no 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 run it by hand once, to allow the SSH key to be trusted, the 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
changing User:pass@server to your username , password and server name combination
changing localpath\realtime.txt to the local path on you PC
changing /remotepath to the remote path on the web server (as seen when you SFTP to the web site)