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
Batch create folders on FTP + upload
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 2
- Joined: 2007-08-24, 16:07 UTC
You can use "download lists". The following command uploads folder Source naming it ProjectA on the server.
(/path/ on server must exist)
See also http://ghisler.ch/board/viewtopic.php?p=171513#171513
Code: Select all
put:c:\path\ProjectA\TodayDate\Source\ -> ftp://user@server/path/ProjectA
See also http://ghisler.ch/board/viewtopic.php?p=171513#171513