Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Suggestions

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1  
Old 10-25-2004, 02:08 AM
rob_manger rob_manger is online now
Registered User
 
Join Date: 05-18-2004
Posts: 16
Lightbulb Recursive FTP?

Hi Guys,

Just a thought. What are the chances of adding a recursive feature to the FTP action?

On several of my projects I am building the contents of a CD that are to FTP'd up to a server so the client can burn these files directly to a CD, ie: no chance of Zipping up the directory structure and FTPing that. The CD directory structure is approaching ~15 sub-directories. It would be great if I could put these into one single FTP step, rather than have 15 different steps.

Cheers

Rob Manger
Reply With Quote
  #2  
Old 10-25-2004, 07:19 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
We are considering something along these lines for a future release. For now, you can reduce it to 2 steps by utilizing the Process Files action + an FTP step. The Recurse.bld sample demonstrates doing this file-by-file (you can also invoke the FTP action once for each folder by using the 'Process once for each folder...' checkbox in the Process Files action). See 'Process Files Action' in the help index for more details and also see this post: http://www.kinook.com/Forum/showthread.php?threadid=240
Reply With Quote
  #3  
Old 10-25-2004, 07:27 AM
rob_manger rob_manger is online now
Registered User
 
Join Date: 05-18-2004
Posts: 16
Excellent. Thanx for your prompt reply
Reply With Quote
  #4  
Old 04-07-2005, 04:19 PM
briandors briandors is online now
Registered User
 
Join Date: 07-12-2004
Posts: 4
process files for GET too?

Can this process files methodology also be used for an FTP GET operation, resursively? If I have an ever-increasing number of folders and files under a certain root on the ftp server, and I always want to get everything from under there to a specific local folder, how would that be done?

Thanks.
Brian
Reply With Quote
  #5  
Old 04-08-2005, 01:55 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
No, the Process Files action only knows about local drives and LAN-accessible network shares. If you have only FTP/Telnet access to the server, one option would be to run a server-side script to ZIP up the the files (if it's a Windows server, this could be done by running a VBP project on the server via the Telnet action or rcmd/rconsole), then FTP the ZIP file and uncompress on the client side.
Reply With Quote
  #6  
Old 04-11-2005, 08:29 AM
briandors briandors is online now
Registered User
 
Join Date: 07-12-2004
Posts: 4
?

Sorry, I'm not following. Indeed I don't have remote desktop connection or admin or any other access to this server than FTP.

How would I from my client, recursively zip all files on the server, to then GET the zip?

Would be nice for gets and puts if the FTP piece had recursiveness built in. Short of getting a directory listing and then parsing out each file and folder name, I don't see a way around this.
Reply With Quote
  #7  
Old 04-11-2005, 02:25 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
My suggestion would only work if you also had Telnet access to the box. With FTP access only, you would need to use FTP commands to dir the site and parse out the folder names. You could script the Windows FTP client for that: http://www.nsftools.com/tips/MSFTP.htm

Supporting this in the FTP action is on our list for a future release.


Admin note: Implemented in v6
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:35 AM.


Copyright © 1999-2023 Kinook Software, Inc.