Command Line Prompt

Core FTP client questions and answers
Locked
arosenbaum
Posts: 3
Joined: Wed Sep 18, 2013 8:06 pm

Command Line Prompt

Post by arosenbaum »

I have a batch file that runs the code below. I have obviously substituted user name, password and site for security. Trust me, this is not the issue. I am attempting to grab a file from the ftp site, transfer it to a local drive and delete the file from the ftp site when I am done transferring it.

Sometimes the script runs without error, but the file is not anywhere including the c:\ftp directory. Sometimes, I encounter the cmd line error because a transfer is in progress, although I can't find anywhere where a transfer is in progress. I am very frustrated with a simple task. Someone please help.


coreFTP\coreftp.exe -O –d ftp://user:password@mysite.domain.com/D ... Test/*.txt –p c:\ftp –delsrc
ForumAdmin
Site Admin
Posts: 1004
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

It might be due to spaces in the filename. If there are spaces, the filename needs to be in quotes, or spaces need to be substituted with the space character (%20).
Locked