FTP basics
FTP basics
- Subject: FTP basics
- From: Wim Melis <email@hidden>
- Date: Sat, 11 Nov 2000 03:19:56 +0100
In response to my previous question, about finding files with certain
modification dates, I was pointed towards the FindFile OSAX which does
the trick indeed.
Great, that was easy. Now for the stuff that will involve more coding:
the ftp part. It's been a long time since I looked at the innards of ftp
and my memory on it is pretty fuzzy, so please forgive my ignorance.
These are the steps as I remember them:
1. Log in with username and password, this opens a connection
that will stay open for the remaining steps.
2. Go to directory where you want to do stuff.
3. Do stuff: remove or create directories, remove or upload files.
- In order to update an existing file, you need to explicitly
delete the old one first before sending the new one.
- To upload a directory with contents, you need to create the dir
first and then upload the files one by one.
4. Repeat steps 2 and 3 as long as necessary.
Am I correct so far?
What solution would you suggest for this, AppleScript an application or
use an OSAX? And for both cases, which app or OSAX could you recommend?
Thanks, Wim
-----
email (home): email@hidden
email (office): email@hidden
http://www.noorderlicht.com * Noorderlicht photofestival