I am using ftp to connect to a server… the following commands are working fine for me…
tell application “Finder”
try
set ping_result to (do shell script "ping -c 1 -q " & server)
if “100% packet loss” is not in ping_result then
mount volume “ftp://username:password@17.65.xx.xx”
end if
on error
set host_name to do shell script “ls /Network/”
if host_name contains server then
mount volume “ftp://” & server
end if
end try
end tell
I now want to upload and download files from this server… (it seems that there is some problem with Tiger and a regular finder copy cannot be done up to this server)… how can I achieve this uploading and downloading of files to the ftp server using Applescript or terminal commands?