SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
SyncFTPDir Fonction

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
SyncFTPDir Fonction
Author Message
Lionel CHAUMIEN



Joined: 23 Jan 2001
Posts: 9

Post SyncFTPDir Fonction Reply with quote

Hello,

We have recently tested the SyncFTPDir fonction and realized that this function does not work if there is no file in the target directories (which could be FTP or local).

Do you confirm ?

Thanks.

Tue Jan 23, 2001 6:52 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: SyncFTPDir Fonction Reply with quote

Do you get an error message?
What parameters do you use for SyncFRPDir?

: Hello,

: We have recently tested the SyncFTPDir fonction and realized that this
: function does not work if there is no file in the target directories
: (which could be FTP or local).

: Do you confirm ?

: Thanks.

Tue Jan 23, 2001 9:41 am View user's profile Send private message
Lionel CHAUMIEN



Joined: 23 Jan 2001
Posts: 9

Post Re: SyncFTPDir Fonction Reply with quote

: Do you get an error message?
=>The error message is a common one...

: What parameters do you use for SyncFRPDir?
=>We have tried many commands in the script :

1st test:

SyncFTPDIR("LOCAL", "XXX.XXX.XXX.XXX", "User", "Password", "LocalDir", "DestinationDir", TRUE, FALSE, FALSE, TRUE)

24x7 does not succeed in fully synchronizing the target directories, it does not create any files in the new subdirectories.

2nd test:
SyncFTPDIR("REMOTE", "XXX.XXX.XXX.XXX", "User", "Password", "DestinationDir","LocalDir", TRUE, FALSE, FALSE, TRUE)

The replication was successful, BUT if we add a new directory in the "DestinationDir" : 24x7 does not replicate it. We must restart 24x7 for the job to work successsfully.

Could you please analyse this ?


Tue Jan 23, 2001 11:32 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: SyncFTPDir Fonction Reply with quote

The MASTER directory should have at least one file in it in order for SyncFTPDir to find and process the subdirectories. If you don't have any file, create a dummy file with any contents.

: =>The error message is a common one...
: =>We have tried many commands in the script : 1st test:
: SyncFTPDIR("LOCAL", "XXX.XXX.XXX.XXX",
: "User", "Password", "LocalDir",
: "DestinationDir", TRUE, FALSE, FALSE, TRUE)

: 24x7 does not succeed in fully synchronizing the target directories, it does
: not create any files in the new subdirectories.

: 2nd test: SyncFTPDIR("REMOTE", "XXX.XXX.XXX.XXX",
: "User", "Password",
: "DestinationDir","LocalDir", TRUE, FALSE, FALSE, TRUE)

: The replication was successful, BUT if we add a new directory in the
: "DestinationDir" : 24x7 does not replicate it. We must restart
: 24x7 for the job to work successsfully.

: Could you please analyse this ?

Tue Jan 23, 2001 1:15 pm View user's profile Send private message
chaumien Lionel



Joined: 24 Jan 2001
Posts: 4

Post Re: SyncFTPDir Fonction Reply with quote

: The MASTER directory should have at least one file in it in order for
: SyncFTPDir to find and process the subdirectories. If you don't have any
: file, create a dummy file with a ony contents.

are we talking about the target directory or the source directory, our experience is that we have to create the dummy on the target, which is a pain
see the new thread we have posted

Wed Jan 24, 2001 9:48 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 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
Design by Freestyle XL / Flowers Online.