[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FTPAPI question
Sender: Christian <chrisv5@xxxxxx>
Thomas,
I am not sure whether I correctly understand your question. On my
opinion "multiple sessions" does not necessarily mean that these session
are managed multi-threaded. But it can mean that you can open multiple
sessions at the same time and then "put" and "get" files from here to
there. E.g. having multiple session open you can read a directory on one
box and then transfer all the files to another box without having to
open and close the two sessions again and again.
well, in the above scenario one could simply download all the files from
the first server, disconnect and upload to the second server. My concern
has been that if you are moving really large files, one or the other
server might time out in between, esp. as it is not multi-threaded.
I think that it is not a good idea to use RPG in a multi-threaded
environment. I can not argue for that opinion in details. It is just a
feeling from inside myself.
It's just been a thought. ILE RPG can multi-thread pretty well, at least
according to the docs. Of course, the current FTPAPI has too many global
variables to be thread-safe. Anyway, I was not too serious about that...
Regards,
Christian
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------