• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Quick command line FTP question

RadiclDreamer

Diamond Member
I'm on a windows box. I have a set of files I need to pull from a remote unix server. The files are all the same extension.

The problem is, I need to change the place where the downloaded files go. Right now in my command list from the batch file I have

open xxx.xxx.xxx.xxx
username
password
cd /home/sss1234
mget *.dlm
bye

This gets all of the DLM files and puts them in C:

I need them to go into a folder called C:\autoftp

Any idea how this is done?
 
use lcd to change the local directory:

open xxx.xxx.xxx.xxx
username
password
cd /home/sss1234
lcd c:\autoftp
mget *.dlm
bye
 
It should. Although as a workaround you could wrap the ftp call in a batch file and change directory from there before calling ftp since it's defaults to the current directory.
 
Back
Top