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

grahamjansen

How to send a directory folder to FTP

Hi Forum
Please can you assist, I need to send a directory (folder) frough to FTP site using WinSCP script, but not the contents of the directory.

My script that I use has the following:
option batch abort
option confirm off
open "ftp://username:password@x.x.x.x"
put C:\testftp\*
close
exit

This script copies the contents of the C:\testftp directory, I want to send the testftp directory only.