Forum Discussion

raguaaa45's avatar
raguaaa45
New Contributor
7 years ago

Does Test complete supports FTP?I would like to send a file through FTP.

HI,

 

I would like to know whether we can automate a scenario of sending a file through FTP using Test-complete?

 

Have the port and ip address along with the file.All i need is to send the file to the specified port using testcomplete

 

Please let me know in case of any information available

4 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    TestComplete can run command lines using the WShell object.  FTP can be done via command line on most windows machines.  So, you can probably script a BAT file or something to execute an FTP send command to do what you want.

      • HKosova's avatar
        HKosova
        SmartBear Alumni (Retired)

        Hi sanjay0288,

         

        You need to add just the "System" assembly. The FTP class will be available as:

        dotNET.System_Net.FtpWebRequest

         

        We don't have any ready CLR Bridge scripts for FTP. Feel free to share what you come up with!