Subject: | |
From: | |
Reply To: | |
Date: | Thu, 8 Jun 2006 08:45:12 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
on 6/7/06 9:00 PM, Ed Stockly thoughtfully composed:
> set ftpShellScript to "ftp -d -v -u ftp://" & remoteUserid & ":" &
> remotePassword & "@" & remoteServer & ":21" & remotePath & fileName & " " &
> localFile
I should learn to read a bit before posting
(and change my subject lines ;) ). This from 'the man':
In order to be compliant with RFC 1738, ftp strips the leading "/" from
path, resulting in a transfer relative from the default login directory of
the user. If the / directory is required, use a leading path of "%2F". If
a user's home directory is required (and the remote server supports the
syntax), use a leading path of "%7Euser/". For example, to retrieve
/etc/motd from `localhost' as the user `myname' with the password `mypass',
use "ftp://myname:mypass@localhost/%2fetc/motd"
It doesn't say what happens if you don't have a leading "/" in your path to
begin with...
Doug
|
|
|