set theLocalFolder to POSIX path of ("Kingston:ontwerp:celbiologie:20082009:2.2:vasculairsysteem")
set initialFolder to "celbiologie"
set theBaseFolder to "celbiologie/20082009/2.2/"
set theUploadFolder to "vasculairsysteem"
set theSyncFolder to "20082009/2.2/vasculairsysteem"
with timeout of 300 seconds
tell application "Cyberduck"
set theBrowser to (make new browser)
set encoding to "UTF-8"
connect to theServer with protocol theProtocol as user theUser with initial folder initialFolder
change folder to theSyncFolder
set theresult to (sync folder theSyncFolder with local folder theLocalFolder)
550 /20082009/2.2: The system cannot find the path
The base folder is not honoured. It is not possible to remove the leading '/'; specifying /celbiologie as part of theSyncFolder path leads to
550 /celbiologie/celbiologie/20082009/2.2/vasculairsysteem: The system cannot find the path specified.
I am not allowed to connect to the ftp server without the leading /celbiologie argument.
The sync example in the AppleScript folder of the dmg is no longer there.
The text was updated successfully, but these errors were encountered:
I did some tests with different combinations of with initial dir and change folder to commands. Seems to work for me as expected. You say the base folder is not honoured, but I don't see the variable theBaseFolder referenced anywhere in your script.