Tapatalk

Macro to transfer files via FTP

Macro to transfer files via FTP

2
NewbieNewbie
2

    Nov 28, 2005#1

    Is there any macro command that enables to download an ascii file from FTP without need to open it first. Until now I have create a macro that opens the FTP, opens a specific ascii file and select 'Save As..' in order to save the file in my location.
    Any idea?

    344
    MasterMaster
    344

      Nov 28, 2005#2

      hmmm, sounds like just a normal transfer. Why do you need UE therefor ?
      Take the next lines as an example for batch-transfer:

      make an ftp-config-file "letsGo.ftp" like this.
      replace my.... with your settings:

      Code: Select all

      open myremotehost
      myuser
      mypassword
      ascii
      cd mydirectoryRemote
      lcd mydirectoryLocal
      get myFileName
      get myAnotherFileName
      bye
      

      then call it from DOS prompt:
      ftp -s:letsGo.ftp


      All Win-XP. NO GUARANTEE !

      rds Bego
      Normally using all newest english version incl. each hotfix. Win 10 64 bit

      2
      NewbieNewbie
      2

        Dec 14, 2005#3

        Thank you it works!