Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Root Folder download

Thank you again, working now!!!
Guest

Root Folder download

Thank you, I will give it shoot!
lascrams

Root Folder download

Hi,

I've been reviewing different topics on your forum, but I'm stuck on something. I'm working on a script (example below) and trying to download files from the root folder of an FTP host.

I have some log files I can share if needed. Right now, I'm just not sure which command I should be using to download from the root folder. I started looking through the documentation, but I couldn't find the answer.
open sftp://SFTPMIT2005-gmail@fn01.test.com/ -hostkey="ssh-rsa 2048 SHA256:fgrhrtytytyu56487" -privatekey="C:\downloads\test\PrivateKey_PuTTy.ppk"
 
 '/' ^
  "ls" ^
  "get *.* C:\downloads\test\clientA\""" ^
 
# Disconnect
close
# Exit WinSCP
exit

I would really appreciate any help with this part. Thank you!