Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Access script to a remote volume



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >URL Access script to a remote volume (From: John Cochrane <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.