Command Line operations failing

Report client bugs
Post Reply
UMG
Posts: 10
Joined: Wed Jun 04, 2008 5:54 pm

Command Line operations failing

Post by UMG »

I just upgraded from an old version of CoreFTP (1.3 I think) to the newest 2.1 build 1658 and have run into a problem with command line operations.

When I use a site to try to transfer files via the command line it tries to change the directory on the remote host even though one is not specified in the site, which causes an error and the transfer to fail.

Example of log:

SSH-1.99-OpenSSH_3.9p1
Current directory is '/home/UMG'
Keep alive off...CWD
permission denied...
Error loading directory...STOR /home/UMGugid733u20080603.txt

If I setup /home/UMG as the default remote directory I see this:


SSH-1.99-OpenSSH_3.9p1
Current directory is '/home/UMG'
Keep alive off...CWD /home/UMG/home/UMG/
permission denied...

That happens even if I setup the ABS option. If I connect to the site interactively by starting CoreFTP, if the remote directory option is blank it doesn't try to send the CWD command, and even if I set it to the same thing, it doesn't issue the CWD because it sees it is already the current directory. (It doesn't try to just append the specified directory to the current one.)

Is this a known problem that will be fixed sometime soon or do I need to revert to the old version of the CoreFTP?

Thanks,

Michael
jacken
Posts: 11
Joined: Wed May 14, 2008 11:53 pm

Post by jacken »

try to use the -p option. ex. -p /home/UMG/
UMG
Posts: 10
Joined: Wed Jun 04, 2008 5:54 pm

Post by UMG »

That results in this:
------------------------------------------------
PWD
Current directory is '/home/UMG'
Keep alive off...
CWD /home/UMG/home/UMG/
permission denied...
-------------------------------------------------

Even if it worked, that would mean the process would break if the remote site changed my home directory. The point is if you are using a connection defined in the sites, the command line operations should use all of the information defined in the site profile. (Retries, etc.)

I noticed that if I click the cancel button while running a command line operation it treats it as a failure and retries the transfer, even though I have retries turned off.
NHead
Posts: 4
Joined: Thu Jul 17, 2008 7:13 pm

Command Line forcing CWD

Post by NHead »

I found this thread while experiencing the same problem.

I can access the site fine 'interactively' - but when I try to use command line a CWD is introduced, the "permission denied..." and "Error loading directory..."

Command as typed:
coreftp.exe -site sitename

I do have build 1570 and am wondering if there are any more suggestions to try?

Thanks,

Nancy
RTOWNSEND
Posts: 6
Joined: Fri Aug 31, 2007 2:43 pm

Post by RTOWNSEND »

Hello,
We are still having this issue with Build 1575.
NHead
Posts: 4
Joined: Thu Jul 17, 2008 7:13 pm

Post by NHead »

With the new build (1575) I am able to do this:

coreftp.exe -site sitename

but still cannot pull a directory listing using -dira

-Nancy
Post Reply