infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Get Filesize of FTP-FileSet IB DIR
Jerry Tilsley
Clovertechers!
I need some help here. I have an inbound ftp-fileset thread in which I need to check the filesize before processing to ensure the file is complete before grabbing it. I know I cannot get the mtime because of it being over FTP, so I thought I would go with the filesize, but am stuck on this as well.
Any help is appreciated.
Thanks,
Jerry
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
For an FTP interface to do this you need to write your own using TclCurl. It would be easy enough for Fileset/Local but not FTP.
FWIW, we have added a flag to the Fileset protocol in CL 6.0. This flag will allow you to ask for a long directory listing when using a Directory Parse proc. It will give you access to times, sizes, etc.
But for now, the TclCurl way is best. Of coues there is also an FTP package in tcllib that can be used but I prefer TcCurl
Jerry Tilsley
I will investigate that the option with TclCurl to get by until 6.0 is finally released GA.