Page 1 of 1

FTP Upload of All Subfolders in a Folder

Posted: Thu Jul 26, 2012 2:44 pm
by cclowes
I want to upload the sub-folders, and the files that they
contain, of a particular folder to an FTP site. When I
try to do it I get the following error:

E: 7/20/2012 12:46:54 PM: FtpPutFile fails with message:
The filename, directory name, or volume label syntax is
incorrect.
E: 7/20/2012 12:46:54 PM: An error occurred. Step #12
(FTP Upload).
E: 7/20/2012 12:46:54 PM: Task execution is aborted

This is the section of code where it is failing.

[Actions\Action12]
ActionID=STRING|"A_FTP_UPLOAD"
Enabled=INTEGER|-1
Name=STRING|"FTP Upload"
Params=FOLDER

[Actions\Action12\Params]
file=STRING|"\\Estate\Pagination\AdBase\AdBase_PD_Travidi
a\*"
folder=STRING|"/inserts"

AdBase_PD_Travidia is the folder that contains all the
folders that I want to send to the FTP site and there can
be up to 20 sub-folders in that folder. The names of the
sub-folders always change. Inside the folders are any
where from 1 to 3 PDF files.

My question is, is there an easy way to upload all of the
folders in the AdBase_PD_Travidia folder?

FTP Upload of All Subfolders in a Folder

Posted: Fri Aug 03, 2012 3:55 pm
by Oleg
The simplest way is the using of FTP Synchronization (or SSP FTP Synchronization) action.
Use unidirectional synchronisation from local folder to remote.
The action can process subfolders too.