Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Text(CSV)
connection metadata not working when using ftp url
Denny
2013-04-16 20:55:19
Hello,

i'm encountering a problem when connecting with direct file url or samba url, I can get valid entries with "connection.getMetaData().getTables()" function, which lists available tables/files on a specific location

however, when using "ftp" in connection url, this function returns blank. Direct query still working however

example :

with this url:
jdbc:Text:smb://user:pw@192.168.48.9/afolder?_CSV_Header=true&dateFormat='dd/MM/yyyy'
connection.getMetaData().getTables() works perfectly

however with this url:
jdbc:Text:ftp://user:pw@192.168.48.9/afolder?_CSV_Header=true&dateFormat='dd/MM/yyyy'
connection.getMetaData().getTables() returns blank.. can you help ?
however "select * from tablexxx" works from above url

thank you

regards
Re:connection metadata not working when using ftp url
HXTT Support
2013-04-17 04:35:02
list command of ftp protocol will fetch differenct content for differ FTP server, and HXTT Text (CSV) hasn't supported it. Only if it's a key feature for your project, we will provide that feathure.
Re:Re:connection metadata not working when using ftp url
Denny
2013-04-17 05:26:00
Hello,

I'm creating a tools for importing various files using hxtt dbf,access,text and excel, so at this point the user will entry the URL then table selection will emerge, and then when user pick the source table, the destionation table will be created automatically... functions used is :

metadata.getTables
metadata.getColumns
metadata.getPrimaryKey

drivers used:
hxtt dbf
hxtt access
hxtt text
hxtt excel

I will be very thankful if you can implement these using ftp and ftps protocol or other protocols, because it will be hard for me to implement myself an will need total reengineering of my project

how hard to implement it ?

thank you
regards
Re:Re:Re:connection metadata not working when using ftp url
HXTT Support
2013-04-17 06:13:58
sftp should have supported metadata.getTables .

What's your ftp server version?
Re:Re:Re:Re:connection metadata not working when using ftp url
Denny
2013-04-17 06:22:55
Hello,

I'm creating a tools for generic uses (accessing wide variety of ftp servers), so it need to support any version of ftp server, if it cannot be generic then i probably better to use another ftp solution which can be generic..

do you think it's possible ?

thank you
regards
Re:Re:Re:Re:Re:connection metadata not working when using ftp url
HXTT Support
2013-04-17 06:26:37
We will provide support soon.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap