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
Command Line operations failing
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.
------------------------------------------------
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.
Command Line forcing CWD
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
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