Dennis,<br><br>Try something simple first.<br><br>Create a c:\tmp directory and see if you can cd to it.<br><br>Since you are in AIX also try replacing \ with / as Windows, at least for several versions, I believe, understands both.<br>
<br>Regards<br><br>Ken<br><br><div class="gmail_quote">On Mon, Sep 14, 2009 at 12:32 PM, Dennis Malen <span dir="ltr"><<a href="mailto:dmalen@malen.com">dmalen@malen.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Before I create a filePro program that can FTP to a winders server and am<br>
trying to confirm how I change the remote windows directory to "Documents<br>
and Settings".<br>
<br>
I have combined the information Ken Brody provided and googled this issue.<br>
<br>
What I have found is that the "lcd" command is for the local box (AIX UNIX<br>
in my case). CD is used to change the remote directory. That being the case<br>
I have tried many variations. From my google reseaerch it appears that the<br>
following should work:<br>
<br>
cd "c:\Documents and Settings"<br>
<br>
In every variation I used I get an error telling me the directory can not be<br>
found.<br>
<br>
To reconfirm: I am experimenting from the command line in AIX UNIX before I<br>
create filePro code.<br>
<br>
I am doing the following successfuly:<br>
<br>
ftp IPAddress<br>
login name<br>
password<br>
ascii<br>
<br>
Here's the problem:<br>
cd "c:\Documents and Settings" (or some variation thereof)<br>
<br>
I get an error that the directory cannot be found.<br>
<br>
Does anyone have any ideas?<br>
<br>
Dennis Malen<br>
516.479.5912<br>
<br>
----- Original Message -----<br>
From: "Kenneth Brody" <<a href="mailto:kenbrody@spamcop.net">kenbrody@spamcop.net</a>><br>
To: "ROBERT PULLIAM" <<a href="mailto:pulliamr@earthlink.net">pulliamr@earthlink.net</a>><br>
Cc: "filepro" <<a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>><br>
Sent: Friday, September 11, 2009 12:02 PM<br>
Subject: Re: ftp command<br>
<br>
<br>
> ROBERT PULLIAM wrote:<br>
>> I need to ftp a file from a unix box to a windows box - can anyone help<br>
>> me with the syntax?<br>
><br>
> c:\> ftp hostname<br>
><br>
> ftp> cd /path/to/file<br>
> ftp> lcd \path\to\save\file<br>
><br>
> ftp> binary <== If file is binary<br>
> or<br>
> ftp> ascii <== If file is text<br>
><br>
> ftp> get filename<br>
> ftp> quit<br>
><br>
><br>
> --<br>
> Kenneth Brody<br>
> _______________________________________________<br>
> Filepro-list mailing list<br>
> <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
> <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
<br>
_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
</blockquote></div><br>