Re: URL Access script to a remote volume
Re: URL Access script to a remote volume
- Subject: Re: URL Access script to a remote volume
- From: Axel Luttgens <email@hidden>
- Date: Wed, 08 Nov 2006 13:34:27 +0100
On 8/11/06 11:42, John Cochrane wrote:
Hi scripters
I have been trying out URL Access Scripting to upload file to a remote
volume using
set
theURL
to "ftp://" &
theUserName & ":" &
thepassword & "@" &
"computerName.local" &
"/" & theDirectory
upload
this_file
to
theURL
This works fine for uploading to theUserName's home directory on the
remote computer but I cannot figure out how to upload to the
Applications folder which is what I would like to do.
i.e. the script will work for
theDirectory
of "Documents/" which is in the home folder but not for
"Applications/" at the root level.
Am I missing something simple or it just not designed to work that way?
It may depend on lot of things, especially on how the server is
configured...
If I correctly understand the above, an url such as:
ftp://someuser:pass@computer/Documents/
allows you to upload files to the server, into someuser's Documents
folder.
If yes, then it seems that the server is configured so as to "jail"
someuser into its home directory (ie, someuser is "chrooted").
In which case you have no way to access other directories than the
user's home directory and enclosed directories; at least with
someuser's account.
Could you have a look at the server's configuration?
HTH,
Axel
|
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden