![]() ![]() |
List the contents of two different directories on a remote FTP site |
Dec 11 2009, 02:08 PM
Post
#1
|
|
|
Contributor ![]() ![]() Group: Members Posts: 28 Joined: 15-January 09 Member No.: 283 |
Hi,
How to list the contents of two different remote directories on a remote FTP site in one single transfer request? I thought this would do : CODE peltrans -po Y -oa RS_FTP -mode I -dir I -type dir -ftp_command "QUOTE CWD /DATA/OUT/; QUOTE LIST; QUOTE CWD /DATA/IN/; QUOTE LIST" but I get an error : CODE SUP I XBEG_CF- RS_FTP(62915035) [13215] transfer in requester mode refused: reason="165, Transfer failure" / prot.diag="425, Can't open data connection" / error=0 Any other way of doing it? Any hints appreciated. |
|
|
|
Dec 15 2009, 05:23 PM
Post
#2
|
|
|
Contributor ![]() ![]() Group: Members Posts: 11 Joined: 15-November 08 Member No.: 186 |
The best way would be to create a transfer model and link child models that actually fetch the list from the directories.
|
|
|
|
Dec 17 2009, 10:33 AM
Post
#3
|
|
|
Group: Axway Moderator Posts: 31 Joined: 6-November 08 From: Paris Member No.: 100 |
Hi,
You can not list a remote directory using ftpc commands. ( you will have some issues with the data session ) You may use two peltrans with type dir instead of trans and dir_name as remote directory to list Raphael |
|
|
|
Jan 7 2010, 12:35 PM
Post
#4
|
|
|
Contributor ![]() ![]() Group: Members Posts: 28 Joined: 15-January 09 Member No.: 283 |
You can not list a remote directory using ftpc commands. ( you will have some issues with the data session ) Yes, indeed. 2 connections needed. Specifications changed on the day of putting my solution in production and two completely different logics were needed for the two directory, so I ended up using two schedules, two scripts.. and two peltranses! Problem solved! Thx guys. |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
Lo-Fi Version | Time is now: 30th July 2010 - 01:16 PM |
Skin designed by IPB Forum Skins
Expand / Collapse Navigation



Dec 11 2009, 02:08 PM





