• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Applescript to upload file with Transmit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript to upload file with Transmit


  • Subject: Re: Applescript to upload file with Transmit
  • From: Takaaki Naganoya via AppleScript-Users <email@hidden>
  • Date: Thu, 27 Feb 2020 09:03:39 +0900

(1) Transmit's upload command require POSIX path.
(2) upload command work with "remote browser" not a "file browser"


Takaaki Naganoya

> 2020/02/27 0:24、Bert Groeneveld via AppleScript-Users
> <email@hidden>のメール:
>
> Hi, since Fetch FTP is no longer scriptable I am looking for an aternative
> and found Transmit. Unfortunately all example code I can find is from older
> Transmit versions and doesn’t work. Can anyone post example code how to
> upload a file with Transmit? Below is what I could figure out so far. But it
> doesn’t work yet.
>
> set theServerAddress to "ftp.reclamebureau-ivc.nl"
> set theUserName to "tester"
> set thePassword to "0eeDMYK6"
> set theDirectory to "IN"
> tell application "Transmit" -- version 5.6.3
>       close every document
>       set myConn to make document
>       tell myConn
>               set myTab to tab 1
>               tell myTab
>                       set myConn to connect to address theServerAddress as
> user theUserName with password thePassword with protocol FTP with initial
> path theDirectory
>                       set file_browser to file browser 1
>                       tell file_browser
>                               upload item at path
> "Macintosh_HD:Users:bertus:Desktop:Screenshot 2020-01-08 at 16.48.26.png" --
> error: Transmit got an error: You must use a remote File Viewer for this
> action.
>                       end tell
>               end tell
>       end tell
> end tell
>
> Thanks in advance for any help.
> Bert.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden

--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Applescript to upload file with Transmit (From: Bert Groeneveld via AppleScript-Users <email@hidden>)

  • Prev by Date: Re: Applescript to upload file with Transmit
  • Next by Date: Re: Applescript to upload file with Transmit
  • Previous by thread: Applescript to upload file with Transmit
  • Next by thread: Re: Applescript to upload file with Transmit
  • Index(es):
    • Date
    • Thread