Your best friend for file transfer.

DropUpload changes (3 posts)
This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
- Started 19 years ago by iordonez
- Latest reply 19 years ago from iordonez
-
iordonez Member
-
Jim Matthews Administrator
Here's a DropUpload that asks for a user id. Fetch will prompt the user for a password:
property gDestHost : "ftp.acme.com"
on open doc
set dialog_reply to display dialog "Enter User ID:"
if button returned of dialog_reply = "OK" then
set desturl to "ftp://" & (text returned of dialog_reply) & ":@" & gDestHost & "/"
else
return
end if
with timeout of 60000 seconds
tell application "Fetch 4.0.3"
put into url desturl item doc
end tell
end timeout
end openThanks,
Jim Matthews
Fetch Softworks -
iordonez Member
You totally rock ;)
- Page 1
Topic closed
This topic has been closed.
Hi,
I'm not very good at apple script and I'm trying to make some small changes to DropUpload. Basially all I want is a dialog box to ask for user name and password. The server will be set static and files will be uploaded to users remote home directory. Any Ideas on how this could work?
Posted 19 years ago #