SessionRemoteException on GetFiles
Hi everybody!
I used WinSCP 5.7.0.5125 With WinSCPnet.dll.
When I used the Session.GetFiles function with a short list file all works fine. But when I give as parameter a long list (more than 500 Files) I catch an Exception when I called TransfertOperationResult.Check just after the GetFiles.
'_oResult.Check()' threw an exception of type 'WinSCP.SessionRemoteException'
base {WinSCP.SessionException}: {WinSCP.SessionRemoteException: Missing parameter for command 'get'. à WinSCP.OperationResultBase.Check()}
If I call Session.GetFiles one by one (for each file) all works.
The only difference between the first and the second call is that i have defined the FileMask of TransfertOptions.
I've tried this because it seems that downloading files one by one takes more time than TransfertOptions.
so : my questions are :
- This exception is it normalous ?
- Did they have a limit of files for GetFiles ?
Regards,
Eric
I used WinSCP 5.7.0.5125 With WinSCPnet.dll.
When I used the Session.GetFiles function with a short list file all works fine. But when I give as parameter a long list (more than 500 Files) I catch an Exception when I called TransfertOperationResult.Check just after the GetFiles.
'_oResult.Check()' threw an exception of type 'WinSCP.SessionRemoteException'
base {WinSCP.SessionException}: {WinSCP.SessionRemoteException: Missing parameter for command 'get'. à WinSCP.OperationResultBase.Check()}
If I call Session.GetFiles one by one (for each file) all works.
The only difference between the first and the second call is that i have defined the FileMask of TransfertOptions.
I've tried this because it seems that downloading files one by one takes more time than TransfertOptions.
so : my questions are :
- This exception is it normalous ?
- Did they have a limit of files for GetFiles ?
Regards,
Eric