Won't create subfolders?

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

Won't create subfolders?

Postby carmst on Thu Sep 08, 2011 4:16 am

Hi,

I have a problem with one particular remote SFTP server, where SuperFlexible won't upload files that are placed in a subfolder, because it doesn't seem to think it needs to create the subfolder on the remote server, and then the upload fails with a bad path error. Other SSH servers are fine, but I've no idea what this one is running.

I'm running the latest version, 5.53. I have permission on the remote server to create folders, because I've been doing with with the same login via WinSCP so the files can be uploaded.

Here's WinSCP's version info for the remote server (not much here):
Code: Select all
Session protocol = SSH-2
SSH implementation = SSHD
Encryption algorithm = aes
Compression = No
File transfer protocol = SFTP-3
------------------------------------------------------------
Server host key fingerprint
ssh-rsa 2048
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = Yes
Can execute arbitrary command = No
Can create symlink/hardlink = Yes/No
Can lookup user groups = No
Can duplicate remote files = No
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No
------------------------------------------------------------
Additional information
The server does not support any SFTP extension.


Here's the edited SuperFlexible log. A folder named "Patch 4" has been created, with a zip file named "359.zip". Superflexible seems to try to upload the file without creating the folder first. I've checked that the folder doesn't exist on the remote server. When I make it manually with WinSCP, SuperFlexible will then happily upload the contents.
Code: Select all
Super Flexible File Synchronizer v5.53, build 251


Log for profile Server Upload, started at 09:54:00 on 08/09/2011

LEFT: \\server\FromMe
RIGHT: sftp://remoteserver/myfolder/FromMe

Copying Direction : Left To Right
The profile is executed in attended mode.

Previous run was at 08/09/2011 09:51:24: Nothing to be done

Left Side Volume Name:               

SSH Encryption Algorithms used:5/5/2/2
SSH DownloadBlockSize:8192 PipelineLength:1 AutoAdjustTransferBlock:TRUE
SSH CompressionLevel:0

Move Deleted Files Into Folder Setting is OFF.

Free Space on left side :      56 GB, needed:    0 Bytes
Free Space on right side:    unknown, needed:   1,098 kB

SSH Exception: EElSFTPError Error=2 /myfolder/FromMe/Patch 4: Specified file path is invalid. @ 00D13529
SSH Exception: EElSFTPError Error=2 /myfolder/FromMe/Patch 4: Specified file path is invalid. @ 00D13529
SSH Exception: EElSFTPError Error=2 /myfolder/FromMe/Patch 4: Specified file path is invalid. @ 00D13529
Exception /myfolder/FromMe/Patch 4: Specified file path is invalid. at 00D13529.
Filename: \\server\FromMe\Patch 4\359.zip
Checkpoints: SPCSX/DCopy05t

Errors / Access problems with 1 File(s):

\Patch 4\359.zip (/myfolder/FromMe/Patch 4: Specified file path is invalid. at 00D13529.Checkpoints: SPCSX/DCopy05t)


Any ideas on how I can get SuperFlexible to make folders on the remote server?
carmst
 
Posts: 7
Joined: Fri Mar 19, 2010 8:43 am

Re: Won't create subfolders?

Postby superflexible on Thu Sep 08, 2011 2:35 pm

I think this can only be analyzed with log files on the server side. What you can try is specifying an absolute vs relative path on the Internet dialog. If the contents of the Folder field starts with a slash, it is treated as an absolute path.

If problems remain, we might have luck with Internet Protocol logs created by our software. It would be best to create these with the new version 6 (currently beta) because they will be more detailed.

The logs can be turned on with the checkmark "Internet Protocol Logging" on the Program Settings dialog, tab sheet Logs.

There will be several files whose names start with FTPLOG in the TEMP folder. You can get to the TEMP folder by entering %TEMP% in the address bar of Windows Explorer.

Create these logs with an FTP library that runs fairly well except for the upload.

If you could send those to info@superflexible.com as well as the normal log, I can find out why this happens. The logs should not contain any private information but please take a look (especially look for your password). If they are large, you may want to zip them.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm


Return to Windows Support * new forum: www.syncovery.com/forum

cron