You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
activate
set theBrowser to (make new browser)
tell (theBrowser)
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)
end tell
end tell
end timeout
results in
CWD /20082009/2.2
550 /20082009/2.2: The system cannot find the path
specified.
The base folder is not honoured. It is not possible to remove the leading '/'; specifying /celbiologie as part of theSyncFolder path leads to
CWD /celbiologie/celbiologie/20082009/2.2/vasculairsysteem
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.
results in
The base folder is not honoured. It is not possible to remove the leading '/'; specifying /celbiologie as part of theSyncFolder path leads to
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: