Problem Downloading file via command line

Core FTP client questions and answers
Post Reply
anil50000
Posts: 8
Joined: Thu Aug 16, 2007 3:45 pm

Problem Downloading file via command line

Post by anil50000 »

Hi,

I am having a problem downloading files using the command line.

The file on the remote directory is called pok_20090929_1.161

when I use this command it downloads the file succesfully:

"c:\program files\coreftp\coreftp.exe" -s -O -site Slo_POK_Download -d POK_Files/pok_20090929_1.161 -p D:\PBI\Slo\DATA\INPUT\ -dir -output D:\PBI\Slo\DATA\LOG\POKDownload.log -log D:\PBI\Slo\DATA\LOG\POKDownload.log

However, when I use the following it does not download the file

"c:\program files\coreftp\coreftp.exe" -s -O -site Slo_POK_Download -d POK_Files/pok*.* -p D:\PBI\Slo\DATA\INPUT\ -dir -output D:\PBI\Slo\DATA\LOG\POKDownload.log -log D:\PBI\Slo\DATA\LOG\POKDownload.log


CWD POK_Files/

550 POK_Files/: The system cannot find the file specified.

We have tried: -d POK_Files/*.*
-d POK_Files/pok_.*
-d POK_Files/pok.*

They all fail, please can you tell what syntax I should use.

Thanks

Anil
anil50000
Posts: 8
Joined: Thu Aug 16, 2007 3:45 pm

Post by anil50000 »

CP

Changing to the last command worked d /remote_path/some_dir/POK_Files/pok*

Thanks for all your help.

Anil
Post Reply