SFTP Scripting?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • showstopper
    Member
    • Dec 2009
    • 64

    #1

    SFTP Scripting?

    Hi guys,

    Not sure if this is possible or not but is there anyone out there that is good at automatic sftp scripting.
    The main problem i am having is that the location where i need to collect the files i need to use private and public keys so it keeps asking me for the password.
    Im pants at scripting and i only have this so far.

    option batch on
    option confirm off
    open "saved profile in winscp"
    cd /Inbox
    option transfer binary
    get *.* c:\Test

    The file is located in a folder called inbox in my saved winscp profile.

    Any help would be greatly appreciated!

  • showstopper
    Member
    • Dec 2009
    • 64

    #2
    Anyone?
    10char

    Comment

    • Bobiskey
      Member
      • Nov 2008
      • 48

      #3
      Not up on this meself. But this might point you in right direction.
      .: Bob :.
      He Lives in a pineapple under the sea....
      Sponge Bob Square Pants ...

      Comment

      Working...