I'm new to coreftp, but I got the file download via command line parameters to work without too much trouble, however trying to move a file within an FTP site is giving me trouble.
I've double checked to make sure the file and directory names are correct.
Do you see any problems with the following command:
"C:\Program Files\CoreFTP\coreftp.exe" -site HRG -remotemove "/Note files/HRG_notes_03202011.txt" "/Note files/HRG_Processed/"
CoreFTP logs this when I run the above command:
Started on Wednesday March 23, 2011 at 11:00:AM
Resolving clients.hcrcvgrp.com...
Connect socket #1516 to 209.155.17.253, port 21...
220 clients.rcvmgt.com X2 WS_FTP Server 7.1(27466355)
USER xxxxxx
331 Enter password
PASS **********
230 User logged in
SYST
215 UNIX
Keep alive off...
CWD /Note files/
PASV
250 Command CWD succeed
PASV
227 Entering Passive Mode (209,155,17,253,4,0).
LIST
Connect socket #1460 to 209.155.17.253, port 1024...
227 Entering Passive Mode (209,155,17,253,4,2).
LIST
Connection Lost...
227 Entering Passive Mode (209
timeout
QUIT
Connection timed out
Error loading directory...
remotemove trouble
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am
Ran a quick test here:
"C:\Program Files\CoreFTP\corecmd.exe" -site testsite -remotemove /test/*.txt "/temp path/" -log c:\test\test.log
portion of test.log:
230-Logged on
230
SYST
215 UNIX Type: L8
CWD /test/
250 CWD command successful
PASV
227 Entering Passive Mode (173,248,130,13,12,218).
LIST
Connect socket #960 to 173.248.130.13, port 3290...150 Opening ASCII mode data connection
226 Transfer Complete
CWD /temp path/
250 CWD command successful
PASV
227 Entering Passive Mode (173,248,130,13,12,219).
LIST
Connect socket #964 to 173.248.130.13, port 3291...150 Opening ASCII mode data connection
226 Transfer Complete
RNFR /test/#AAL90511@AA#AAL90518@RR#+BIN#DONE#A.txt_0bte0l006uj5ced9000007iv.txt
350 requested file action pending further information
RNTO /temp path/#AAL90511@AA#AAL90518@RR#+BIN#DONE#A.txt_0bte0l006uj5ced9000007iv.txt
250 RNTO command successful
RNFR /test/BMIP_holdings.txt
350 requested file action pending further information
RNTO /temp path/BMIP_holdings.txt
250 RNTO command successful
RNFR /test/dirlist1.txt
350 requested file action pending further information
RNTO /temp path/dirlist1.txt
250 RNTO command successful
RNFR /test/new.txt
350 requested file action pending further information
RNTO /temp path/new.txt
250 RNTO command successful
....
If you can post your log and command line that would be helpful. The first example in this post looked more to be a firewall issue than anything else.
Also consider using the -s parameter as the first parameter.
"C:\Program Files\CoreFTP\corecmd.exe" -site testsite -remotemove /test/*.txt "/temp path/" -log c:\test\test.log
portion of test.log:
230-Logged on
230
SYST
215 UNIX Type: L8
CWD /test/
250 CWD command successful
PASV
227 Entering Passive Mode (173,248,130,13,12,218).
LIST
Connect socket #960 to 173.248.130.13, port 3290...150 Opening ASCII mode data connection
226 Transfer Complete
CWD /temp path/
250 CWD command successful
PASV
227 Entering Passive Mode (173,248,130,13,12,219).
LIST
Connect socket #964 to 173.248.130.13, port 3291...150 Opening ASCII mode data connection
226 Transfer Complete
RNFR /test/#AAL90511@AA#AAL90518@RR#+BIN#DONE#A.txt_0bte0l006uj5ced9000007iv.txt
350 requested file action pending further information
RNTO /temp path/#AAL90511@AA#AAL90518@RR#+BIN#DONE#A.txt_0bte0l006uj5ced9000007iv.txt
250 RNTO command successful
RNFR /test/BMIP_holdings.txt
350 requested file action pending further information
RNTO /temp path/BMIP_holdings.txt
250 RNTO command successful
RNFR /test/dirlist1.txt
350 requested file action pending further information
RNTO /temp path/dirlist1.txt
250 RNTO command successful
RNFR /test/new.txt
350 requested file action pending further information
RNTO /temp path/new.txt
250 RNTO command successful
....
If you can post your log and command line that would be helpful. The first example in this post looked more to be a firewall issue than anything else.
Also consider using the -s parameter as the first parameter.
Thanks for the suggestion. The results from the log file are below. I notice that is says permission denied...I can put, get and delete files without issue on the FTP server. Are there some type of special permissions needed to perform the "remotemove"?
Thanks for your help!
05/09/13 20:53 (1751)
Started on Thursday May 09, 2013 at 20:53:PMResolving ftp.virtualdbs.com...
ftp.virtualdbs.com [22] connecting...
SSH-2.0-1.36_sshlib GlobalSCAPE
client -> blowfishserver -> blowfish9e:85:1d:1b:cb:ad:f0:ea:6b:9d:75:13:a0:af:f7:5fssh-dssSending passwordPWD
Current directory is '/'
CWD /DailyProcess/
CWD /DailyProcess/Archive/
RNFR /DailyProcess/customers_20130509_Appended.csv
RNTO /DailyProcess/Archive/
permission denied...
Thanks for your help!
05/09/13 20:53 (1751)
Started on Thursday May 09, 2013 at 20:53:PMResolving ftp.virtualdbs.com...
ftp.virtualdbs.com [22] connecting...
SSH-2.0-1.36_sshlib GlobalSCAPE
client -> blowfishserver -> blowfish9e:85:1d:1b:cb:ad:f0:ea:6b:9d:75:13:a0:af:f7:5fssh-dssSending passwordPWD
Current directory is '/'
CWD /DailyProcess/
CWD /DailyProcess/Archive/
RNFR /DailyProcess/customers_20130509_Appended.csv
RNTO /DailyProcess/Archive/
permission denied...
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am
Was this ever resolved (remotemove failting)
I'm experiencing this exact same issue, was this ever resolved? If so, what was the solution?
Thanks!
Thanks!
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am