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

martin

Re: Get files .csv from zip folder

Technically, there's nothing like a ZIP folder. If you mean that your CSV files are in a ZIP archive, then you need to download the archive and extract it after your WinSCP download script finishes.
amybi77

Get files .csv from zip folder

Hi All
I am using CLI , the issue i am facing is the .csv files are in a zip folder, here is my code. Looked online for 2 days and couldn't find a way to deal with the zip files
please need help
option batch on
option confirm off
open sftp://un:pwd@server/ -hostkey="ssh-rsa 1024 xxxxxxxxxxx"
cd /users/dev
option transfer binary
get -preservetime *.csv c:\
 
close
exit