04 Oct 2024 
Support Center » Knowledgebase » TurboFTP Sync Service Questions » How to transfer a folder in a session task?
 How to transfer a folder in a session task?
Solution To download a remote folder in a session task place an entry in the tbx file associated with the session task like the following example:

C:\downloaddir 0 <- /remote/folder2download myhost:21 D

The 'D' denotes a folder entry. When the task is executed, a subfolder 'folder2download' will be created in 'C:\downloaddir' and the remote folder '/remote/folder2download' will be populated and all its files and subfolders will be downloaded to 'C:\downloaddir\folder2download'. Likewise, to upload a local folder:

C:\uploaddir 0 -> /remote/upload myhost:21 D

The whole folder 'C:\uploaddir' will be uploaded to '/remote/upload'.

Note that a '->' or '<-' must be used for a recursive folder download or upload. If '>>' or '<<' is used instead, only the folder will be created at destination and no contents will be transferred.



Article Details
Article ID: 121
Created On: 18 Dec 2006 12:56 AM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | Troubleshooter | News | Downloads
Language:

Copyright © 2008-2014 TurboSoft, Inc.