be aware of this problem:
/abc/
-> no abc.zip exists
RETR abc.zip
-> /abc/ gets zipped into abc.zip
Now u have a file /abc/abc.zip or /abc.zip
(not sure where u want to see the file placed).
After the file has been sent, how do u determine if the file existed before the RETR command?
Timestamp? might be innacurate if it's a large dir and a slow transfer...
|