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">&lt;<a href="mailto:dmalen@malen.com">dmalen@malen.com</a>&gt;</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 &quot;Documents<br>
and Settings&quot;.<br>
<br>
I have combined the information Ken Brody provided and googled this issue.<br>
<br>
What I have found is that the &quot;lcd&quot; 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 &quot;c:\Documents and Settings&quot;<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&#39;s the problem:<br>
cd &quot;c:\Documents and Settings&quot; (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: &quot;Kenneth Brody&quot; &lt;<a href="mailto:kenbrody@spamcop.net">kenbrody@spamcop.net</a>&gt;<br>
To: &quot;ROBERT PULLIAM&quot; &lt;<a href="mailto:pulliamr@earthlink.net">pulliamr@earthlink.net</a>&gt;<br>
Cc: &quot;filepro&quot; &lt;<a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>&gt;<br>
Sent: Friday, September 11, 2009 12:02 PM<br>
Subject: Re: ftp command<br>
<br>
<br>
&gt; ROBERT PULLIAM wrote:<br>
&gt;&gt; I need to ftp a file from a unix box to a windows box - can anyone help<br>
&gt;&gt; me with the syntax?<br>
&gt;<br>
&gt; c:\&gt; ftp hostname<br>
&gt;<br>
&gt; ftp&gt; cd /path/to/file<br>
&gt; ftp&gt; lcd \path\to\save\file<br>
&gt;<br>
&gt; ftp&gt; binary   &lt;== If file is binary<br>
&gt; or<br>
&gt; ftp&gt; ascii    &lt;== If file is text<br>
&gt;<br>
&gt; ftp&gt; get filename<br>
&gt; ftp&gt; quit<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Kenneth Brody<br>
&gt; _______________________________________________<br>
&gt; Filepro-list mailing list<br>
&gt; <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
&gt; <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>