ftp command
Dennis Malen
dmalen at malen.com
Fri Sep 11 12:37:31 PDT 2009
Just to confirm. Is the following line from Unix to Windows?
SYSTEM "ftp -s:/path/to/ftp/script/file hostname"
Don't I have to identify the IP address of the server that I am sending it
to?
Dennis Malen
516.479.5912
----- Original Message -----
From: "Kenneth Brody" <kenbrody at spamcop.net>
To: "Dennis Malen" <dmalen at malen.com>
Cc: "filepro" <filepro-list at lists.celestial.com>
Sent: Friday, September 11, 2009 2:35 PM
Subject: Re: ftp command
> Dennis Malen wrote:
>> Ken,
>>
>> Can you FTP from system command within filePro.
>>
>> From Unix to Windows
>>
>> Provide IP address of the host.
>> Destination: C:\Documents and Settings
>> Source: /tmp/filename
>>
>> Is this concept a possibility?
>
> I assume what you are really asking for is "is there a way from the
> command line to have ftp automatically transfer the file"?
>
> The Windows version of ftp takes a "-s:filename" command line flag to pass
> a file which contains the commands to execute. Create this file however
> you see fit, and then run it with:
>
> SYSTEM "ftp -s:/path/to/ftp/script/file hostname"
>
> --
> Kenneth Brody
More information about the Filepro-list
mailing list