Your best friend for file transfer.

Fetch application logoFetch

Applescript: copy remote file from one ftp server to another ftp server (3 posts)

  • Started 2 years ago by David
  • Latest reply 2 years ago from David
  • David Member

    Hello, I'm trying to figure out how to use applescript to copy a remote file to another ftp location.

    I've tried something like "copy remote file fileName to beginning of transfer window JLIftp"

    whereas fileName is the path to the remote file on ftp number 1 and JLIftp is the transfer window id of the second ftp.

    Any suggestions would be awesome.

    I'm using version 5.7.1

    Thanks so much

    Posted 2 years ago #

  • Jim Matthews Administrator

    You may want something like:

    copy remote file fileName of transfer window "ftp.source-server.com" to beginning of transfer window JLIftp

    so that AppleScript can figure out which transfer window the file fileName is coming from.

    Let me know if that works.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 2 years ago #

  • David Member

    Thanks this helped!

    Posted 2 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.