Add logging of raw PSFTP output for missing file
detections. Changed error parsing to be based on 'ftpadmin' rather than 'ssh_init'
This commit is contained in:
committed by
Mitchem Dakota (CSC FI SPS MESLEO External)
parent
f8c83dd7f4
commit
d32b4b6e82
@ -838,7 +838,8 @@ Service ListDirectory(Host=HOSTS, Username, Password, RemoteDirectory, Query, Sc
|
||||
Command = 'ftp -i -n -s:' : ScriptPath
|
||||
end
|
||||
DirectoryList = SRP_Run_Command(Command, 'VAR')
|
||||
If Count(DirectoryList, 'ssh_init') EQ 0 then
|
||||
|
||||
If Count(DirectoryList, 'ftpadmin') NE 0 then
|
||||
Gosub LsToMls
|
||||
end else
|
||||
Error_Services('Add', DirectoryList)
|
||||
@ -903,3 +904,4 @@ return
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user