KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Complex FTP file test

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
jromariz



Joined: 03 Apr 2002
Posts: 264
Location: Brasil

PostPosted: Wed Mar 24, 2004 7:16 am    Post subject: Complex FTP file test Reply with quote

Hi All,

I need to setup a test that will check if a certain file is available in an FTP server. The problem is that the file name is kind of complex. It is made by some static and some dinamic parts. Example:

A4104032200.gz

Where:

- "A41" is a static part
- "040322" - is yesterday´s date (04 is the year, 03 the month and 22 the day)
- "00" is a static part

The problem is: how can i configure a macro variable to reflect the variable part of the file name?

Any help would be great.

Regards,

Jromariz.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Mar 24, 2004 2:24 pm    Post subject: Reply with quote

What test method do you use?
URL test? In this case you cannot use macro variables
File Availability test? In this case type A41%yymmdd[-1d]%00.gz as file name.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Mar 24, 2004 2:25 pm    Post subject: Reply with quote

BTW: you need to have HostMonitor version 4.40 to use this expression.
Back to top
View user's profile Send private message Visit poster's website
jromariz



Joined: 03 Apr 2002
Posts: 264
Location: Brasil

PostPosted: Wed Mar 24, 2004 2:35 pm    Post subject: Reply with quote

Alex,

I´m trying to check file using file availability but it´s not working. Is there any "secret" on the file or folder name format field for ftp file checking?

Thanks for your help.

Regards,

Jromariz.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Mar 24, 2004 3:14 pm    Post subject: Reply with quote

FTP file checking?
File Availability test doesn't support FTP protocol. It works with local or shared files.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
jromariz



Joined: 03 Apr 2002
Posts: 264
Location: Brasil

PostPosted: Wed Mar 24, 2004 3:16 pm    Post subject: Reply with quote

Hi Alex,


So there´s no way to check if a file exists using FTP protocol?


Regards,


Jromariz.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Mar 24, 2004 3:36 pm    Post subject: Reply with quote

URL test supports FTP protocol. But it does not support macro variables. Yet.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index