Post a reply

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)


Topic review


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\*

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