Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

URL Access Scripting and ports?!?

Featured Replies

hi,

i sent this to the applescript-users mailing list but they are busy...

so i was hoping some body has a little experience in this and can advise...

i have a slight problem here using the URL Access

Scripting ability to upload files via ftp. i tried a

few times to upload a file to a machine that has a non

standard ftp port - not 21. when i tried to upload

file to a different machine that has a standart ftp

port listening - no problem. i really need to upload

the file to the non standard port machine.

can i or not with URL Access Scripting?!?

(i alreday tried ftp://un:[email protected]:port - it

times out)

if i can not (WHY?) - is there an easier way instead

of writing a script for fetch.

this is for a client that is still on OS 9.2...

any idea appreciated....

thanks..

Can you do it manually with an FTP client program like Fetch? If not, you may have a firewall in the way.

  • Author

it's not firewall... i upload with no problem with fetch....

  • Author

ok. i started doing a script for fetch...

can somebody please explain why this script isn't working?!

set the_file to "Path:to:textfile.txt"

set gDesturl to "ftp://user:pass@host:port"

with timeout of 60000 seconds

tell application "Fetch 4.0"

put into url gDesturl item the_file

-- quit

end tell

end timeout

in the Fetch folder there is a drop script. if you drop a file over it it works. i copied this from that one. it seams the problem is the definition of the file variable but i don't get why....

the error i get when i try to run this script is:

Fetch 4.0 got an error: a descriptor type mismatch occurred.

according to the AppleScript dictionary for Fetch 4.0 there isn't anything wrong with this syntax...

thanks..

How about posting the original "drop script".

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.