ftp command

Ken Cole ken.m.cole at gmail.com
Sun Sep 13 19:42:47 PDT 2009


Dennis,

Try something simple first.

Create a c:\tmp directory and see if you can cd to it.

Since you are in AIX also try replacing \ with / as Windows, at least for
several versions, I believe, understands both.

Regards

Ken

On Mon, Sep 14, 2009 at 12:32 PM, Dennis Malen <dmalen at malen.com> wrote:

> Before I create a filePro program that can FTP to a winders server and am
> trying to confirm how I change the remote windows directory to "Documents
> and Settings".
>
> I have combined the information Ken Brody provided and googled this issue.
>
> What I have found is that the "lcd" command is for the local box (AIX UNIX
> in my case). CD is used to change the remote directory. That being the case
> I have tried many variations. From my google reseaerch it appears that the
> following should work:
>
> cd "c:\Documents and Settings"
>
> In every variation I used I get an error telling me the directory can not
> be
> found.
>
> To reconfirm: I am experimenting from the command line in AIX UNIX before I
> create filePro code.
>
> I am doing the following successfuly:
>
> ftp IPAddress
> login name
> password
> ascii
>
> Here's the problem:
> cd "c:\Documents and Settings" (or some variation thereof)
>
> I get an error that the directory cannot be found.
>
> Does anyone have any ideas?
>
> Dennis Malen
> 516.479.5912
>
> ----- Original Message -----
> From: "Kenneth Brody" <kenbrody at spamcop.net>
> To: "ROBERT PULLIAM" <pulliamr at earthlink.net>
> Cc: "filepro" <filepro-list at lists.celestial.com>
> Sent: Friday, September 11, 2009 12:02 PM
> Subject: Re: ftp command
>
>
> > ROBERT PULLIAM wrote:
> >> I need to ftp a file from a unix box to a windows box - can anyone help
> >> me with the syntax?
> >
> > c:\> ftp hostname
> >
> > ftp> cd /path/to/file
> > ftp> lcd \path\to\save\file
> >
> > ftp> binary   <== If file is binary
> > or
> > ftp> ascii    <== If file is text
> >
> > ftp> get filename
> > ftp> quit
> >
> >
> > --
> > Kenneth Brody
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090914/eb751fe0/attachment.html 


More information about the Filepro-list mailing list