Error Scripting to FTP /DataSet
I am tasked with creating a script to FTP a file that gets deposited to a vendors DataSet/MainFrame. When I logon to the FTP, I need to go up one folder on their FTP. Then I attempt to drop the file. The thing is, I can transfer the file manually with no issue via the cmd prompt.
I am new at scripting be kind.
I will put the script and the results
Script:
Result:
I am new at scripting be kind.
I will put the script and the results
Script:
Result:
INFO : Connecting to xxxIP INFO : Connected INFO : Starting the session... INFO : Session started. INFO : Active session: [1] xxxcreditials INFO : transfer ascii INFO : /'' INFO : xxxMyLocalSFTP INFO : Using configured transfer settings different from factory defaults. INFO : xxxFileName | 0 B | 0.0 KB/s | binary | 0% INFO : Error transferring file 'xxxFileName'. INFO : Copying files to remote side failed. INFO : INFO : CWD cmd failed : EDC5129I No such file or directory. (errno2=0x05190050) INFO : (A)bort, (R)etry, (S)kip, Ski(p) all: Abort INFO : Exit code: 1 INFO : Max roundtrip: 0 INFO : Plugin Run Dos Commands completed successfully - 19:19:35 (elapsed time: 00:00:00:775) INFO : Deleting file : job01092T0P17AWP4DF2E9EC11.dat, size: 249612 bytes INFO : Plugin Delete completed successfully - 19:19:35 (elapsed time: 00:00:00:000)