Back to forum list… Back to Issues and Problems...

SFTP writing to Root folder (4 replies)

Annette
9 years ago
Annette 9 years ago

I have setup an SFTP transfer to a client server. When transferring files to the server and directing this to the /in folder, the files are being written to the / (root folder). The client has sent through the log files below.

165.72.194.9 UNKNOWN nobody [07/Jul/2016:13:28:01 +0000] "USER guylian_tst_sftp" - -

165.72.194.9 UNKNOWN nobody [07/Jul/2016:13:28:01 +0000] "USERAUTH_REQUEST guylian_tst_sftp none" - -

165.72.194.9 UNKNOWN nobody [07/Jul/2016:13:28:01 +0000] "USER guylian_tst_sftp" - -

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:01 +0000] "USERAUTH_REQUEST guylian_tst_sftp password" - -

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:01 +0000] "PASS ¦¦¦¦¦<\" - -

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:01 +0000] "CHANNEL_OPEN session" - -

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:01 +0000] "CHANNEL_REQUEST subsystem" - -

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "INIT 6" - -

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "OPENDIR /" - 0

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "REALPATH ." - 0

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "OPENDIR /in" - 0

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "REALPATH ." - 0

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "OPEN /SalesOrder_060616120337.xml" - 0

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "WRITE f6iVM1" 0 2048

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "WRITE f6iVM1" 0 4096

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "WRITE f6iVM1" 0 4512

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "STOR /SalesOrder_060616120337.xml" - 4512

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "CLOSE f6iVM1" 0 -

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "REALPATH ." - -

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "OPEN /SalesOrder_060616120626.xml" - 0

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "WRITE Qq9hJi" 0 2048

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "WRITE Qq9hJi" 0 4096

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "WRITE Qq9hJi" 0 6144

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "WRITE Qq9hJi" 0 8192

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "WRITE Qq9hJi" 0 9370

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "STOR /SalesOrder_060616120626.xml" - 9370

165.72.194.9 UNKNOWN guylian_tst_sftp [07/Jul/2016:13:28:02 +0000] "CLOSE Qq9hJi" 0 -

When attempting to read from the /out folder, the following error is being displayed on IMAN. (the file name displayed is the file in the /Out folder on the server)

ChilkatVersion - 9.4.1.34,

Architecture - Little Endian; 32-bit,

Language - .NET 2.0,

VerboseLogging - 0,

SshVersion - SSH-2.0-mod_sftp/0.9.8,

SftpVersion - 6,

filename - /DespatchConf_20160628time2#.XML,

access - readOnly,

createDisposition - openExisting,

access - 0x81,

flags - 0x2,

info - Sent FXP_OPEN,

Request - FXP_OPEN,

StatusCode - 2,

StatusMessage - No such file,

retryFilepath - ./DespatchConf_20160628time2#.XML,

filename - ./DespatchConf_20160628time2#.XML,

access - readOnly,

createDisposition - openExisting,

access - 0x81,

flags - 0x2,

info - Sent FXP_OPEN,

Request - FXP_OPEN,

StatusCode - 2,

StatusMessage - No such file,

error - Failed.,

IMAN Version info

Config Version: 3.01

DB Version: 3.07

When uploading to FTP rather than SFTP, this works correctly.

Thanks in advance

Annette

Support
9 years ago
Support 9 years ago

Annette, can you please send a screenshot of your FTP Task screen?

Thanks

Annette
9 years ago
Annette 9 years ago

Screenshots of both FTP Server setup and FTP Task attached

https://www.realisable.co.uk/wp-content/uploads/2016/07/FTP-Task.png
Support
9 years ago
Support 9 years ago

Annette, thanks.

It looks like some files could be uploaded, whilst others have issue. Could there be an issue with the filename since it has a hash in it?

FYI FTP & SFTP are completely different protocols, so whilst everything looks very similar from the Setup area, the underlying implementation is very different...hence different behaviours.

Thanks

7 years ago
Support 7 years ago

Closed due to inactivity.

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close