set the source_folder to (choose folder with prompt "Pick the folder you would like to move:")
tell application "Finder" to move source_folder to (choose folder)
I’m not sure how to get the file paths with slashes and separated by spaces. Here’s the applescript.
on adding folder items to this_folder after receiving added_items
do shell script "ncftpput -f ftpconfig.cfg /htdocs/timages/page " & added_items
end adding folder items to
on adding folder items to this_folder after receiving added_items
set items_ to ""
repeat with item_ in added_items
set items_ to items_ & (quoted form of POSIX path of item_ & " ")
end repeat
set items_ to text 1 thru -2 of items_ -- remove the trailing space on the last item
do shell script "ncftpput -f ftpconfig.cfg /htdocs/timages/page " & items_
end adding folder items to