FTP with no target directory causes a "cd /"

dimanche 7 décembre 2014

I am using mirth to upload statutory reporting data via FTP.

The ftp server I am uploading data to is very picky about how and what is done on it. Files must be named exactly the right way, correct case etc.



My File writer settings are in the screen shot attached.



The issue is that this empty FTP path causes Mirht to try and CD to "/" after it connects to the ftp server. This causes the FTP server to reject the fiel upload with a 553 error message.



Question: Is there some way to stop Mirth from trying to CD into a directory after it connects.



Here is a successful upload from a manual FTP command...

(I have replaced sensitive data with "x")



C:\Users\admin.as>ftp 150.173.243.122

Connected to XXX.XXX.XXX.XXX.

220 Welcome to RCSA ... You are being monitored, and have been warned.

User (XXX.XXX.XXX.XXX:(none)): xxxxxxx

331 Please specify the password.

Password:

230 Login successful.

ftp> put \\dac-file02\sep-app$\prs2\processed\prs2

200 PORT command successful. Consider using PASV.

150 Ok to send data.

226 File receive OK.

ftp: 488772 bytes sent in 2.40Seconds 203.49Kbytes/sec.

ftp>



Cheers,



Aaran




Attached Images





File Type: png mirth_ftp.png (13.0 KB)







FTP with no target directory causes a "cd /"

0 commentaires:

Enregistrer un commentaire