Welcome Guest ( Log In | Register )


 
Reply to this topicNew Topic
Transfer model removing the trailing / in directory name
Tony
post Nov 13 2008, 05:30 PM
Post #1


Regular Contributor
***

Group: Members
Posts: 44
Joined: 6-November 08
From: Washington, D.C.
Member No.: 50


Hola,

We need to connect to a remote SFTP site to get a directory listing, but in order to make it work we have to specify the directory as "/files/" when we manually create a transfer. When we try to specify it in the model, the trailing "/" is eliminated, and so the directory listing fails.

We tried an ftp command attribute in the model of "QUOTE cwd /files/" as well as "QUOTE cwd ../files/" to no avail. Can somebody help with this one?

Thanks,

Tony


--------------------
[i][size=2]--
Tony Lloyd
Sr. Axway Consultant
Washington DC Area
Mobile: 703-261-4449
Go to the top of the page
 
+Quote Post
hossman
post Nov 15 2008, 05:47 PM
Post #2


Contributor
**

Group: Members
Posts: 12
Joined: 15-November 08
Member No.: 186


Hi,

I think it is better ask Axway about this.
Go to the top of the page
 
+Quote Post
Kavindra Kulathi...
post Nov 15 2008, 06:08 PM
Post #3


Regular Contributor
***

Group: Members
Posts: 47
Joined: 6-November 08
From: Colombo, Sri Lanaka
Member No.: 55


Im having amodel like below to retreive file list from remote SFTP dir

/data/xib/xib/data/msglog_archives># peldsp display_model -ml DIR_ICON_CSORREQ
m_model='DIR_ICON_CSORREQ'
m_protocol='GENERAL'
m_comments=''
m_prop_list_name=''
m_appli='CSORREQ'
m_destination='PHMB'
m_direction='I'
m_dir_name='live/ToNms/conshipmentorder/work'
m_file_name='ICON_LIST_CSORREQ'
m_mode='I'
m_org_alias='NMS-ICONPROD'
m_purge_option='Y'
m_type='DIR'

/kavindra


--------------------
Kavindra Kulathilake

Mobile: +94 777 419 025
Tel: +94 11 2662255-8, 2662331-2
Fax:+94 11 2662333, 2662334
kavindra.kulathilake@ebuilder.lk
www.ebuilder.com

eBuilder Technology Centre
95, Dr. N M Perera Mawatha,
Colombo 8 ,Sri Lanka

MSN : Kavindra_Kulathilaka@hotmail.com
Go to the top of the page
 
+Quote Post
jmmahieu
post Nov 20 2008, 12:32 PM
Post #4


Contributor
**

Group: Members
Posts: 14
Joined: 6-November 08
From: Puteaux
Member No.: 140


Hi Tony,

I don't know what is your Gateway version but some issue related to the dir_name varaible have been fixed in 691 SP4. QUOTE CWD equivalent doesn't exist for SFTP protocol and the only way is to usse the dir_name variable.

Regards
JMM


--------------------
JM MAHIEU
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Skin designed by IPB Forum Skins