Batch create folders on FTP + upload

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
geethebluesky
Junior Member
Junior Member
Posts: 2
Joined: 2007-08-24, 16:07 UTC

Batch create folders on FTP + upload

Post by *geethebluesky »

Hi everyone,

The threads that relate to this request are years old, so I hope you'll forgive my taking the chance to ask again in case new methods exist now.

I'm looking for a way to send commands to TC (or another program if one exists) to accomplish the following:

- Create remote folders on an FTP server according to a list
- Upload local files that are in subdirectories of the corresponding local folders.

Here's an example:
- Create a remote folder named ProjectA
- Upload *all* local files from ProjectA\TodayDate\Source to remote folder ProjectA (direct to ProjectA, not subfolders), regardless of how many there are

- Next item in list: Create remote folder ProjectB
- Upload local files from ProjectB\TodayDate\Source to remote folder ProjectB, same way as above
etc.

This is a daily task for me and there can often be a high enough number of folders and files to copy, that I would save 30 minutes a day if I could automate this task.

Can TC accomplish this?
Thanks for your help!
Gen
User avatar
white
Power Member
Power Member
Posts: 6014
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

You can use "download lists". The following command uploads folder Source naming it ProjectA on the server.

Code: Select all

put:c:\path\ProjectA\TodayDate\Source\ -> ftp://user@server/path/ProjectA
(/path/ on server must exist)

See also http://ghisler.ch/board/viewtopic.php?p=171513#171513
Post Reply