none
FTP Speed and time difference through different applications RRS feed

  • Question

  • Hello All,
     
    I have a question:
    I have 2 applications (say X & Y). Both the applications use a OCX library file to perform some FTP functions. The only difference is that 'X' is a separate application which calls this OCX file to perform the FTP tasks while in case of 'Y', the OCX file is embedded directly in the project solution(Its the part of the 'Y' application).
     
    When FTPGetFile() is called in the OCX file from 'X' application, to transfer a specific file; the FTPGetFile() takes 40 Seconds.
    But when the same FTPGetFile() is called from the same OCX file from 'Y' application, to transfer the same file; it takes 20 Seconds.
     
    So, my question here is what makes the FTPGetFile() method to take more time when called from 'X' application and take less time when called from 'Y' application ?
    Is there something in the way OCX is linked to the 2 applications? I mean, 'X' tries to load the OCX file while 'Y' has the same OCX file directly embedded in its solution. Does this makes any difference in the way Windows loads the OCX file and perform the FTP function.
     
    NOTE: Both the 'X' & 'Y' application use the same OCX file. Both call the same FTPGetFile() method & try to transfer the same file. Everything is common except the way OCX is loaded by the applications. The applications are developed in VB6 & C++
     
    Please share your views on this problem.

    GUYS PLZ THROW SOME LIGHT ON THIS...ANY KIND OF IDEAS WILL BE HIGHLY APPRECIATED
     
    Thanks & Regards,
    Dinesh

    Wednesday, June 19, 2013 7:27 AM

Answers

All replies