Opened 14 years ago

Last modified 14 years ago

#3054 closed Bug report

sftp can't create remote directory

Reported by: tommywu Owned by: Tim Kosse
Priority: normal Component: Other
Keywords: Cc: tommywu, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

sftp can't create remote directory.
and upload a directory will cause a loop. (create a
file in remote, not directory, then fail to change
directory)

Change History (6)

comment:1 by Tim Kosse, 14 years ago

Actually caused by two bugs where one bug reveals the other.
Thanks for reporting.

Fix for the 2nd bug has been applied to CVS already, first
one is pending further investigation.

comment:2 by tommywu, 14 years ago

single mkdir command work for remote now.

  1. upload/download directory still fail, won't create directory.
  2. maybe the same problem as 1. upload/download an empty

directory, no any action in FZ3.

comment:3 by tommywu, 14 years ago

upload/download an empty directory also no action for FTP,
not only sftp.

comment:4 by tommywu, 14 years ago

I wote a patch to solve the upload/download directory
problem in sftp mode.
https://sourceforge.net/tracker/index.php?func=detail&aid=1579553&group_id=21558&atid=372243

This patch work for most case. but sometimes, it will
transfer files to wrong remote directory if I've a lots of
files to upload to different directory, even use only one
transfer session.

comment:6 by Tim Kosse, 14 years ago

Fixed in CVS.

This patch work for most case. but sometimes, it will
transfer files to wrong remote directory if I've a lots of
files to upload to different directory, even use only one
transfer session.

Might be related to the fix I made to the canonify function
in psftp.c. Different bug -> new report though imo.

Note: See TracTickets for help on using tickets.