FTP Loadrunner Script error: cannot write to directory
♥ 0 |
I am writing a script that uploads a file to an FTP server. I am able to login, but I keep getting the error: Action.c(16): Error -86025:Put failed; 553 /Macysto2Adpro/TestMonitoring: Cannot write to a directory. This is strange to me because I have no problems transfering a file to that directory manually via winscp. Below is my script… please take a look and let me know if I am doing something wrong here… I also added in: "MODE=ASCII",ENDITEM, which was suggested by someone who but it did not work. lr_start_transaction("Login"); ftp_logon ("FTP", "URL=ftp://username:password@mftftp.federated.fds", LAST ); // ftp_get_ex (&pFtp,"GET_TRANSACTION", "SOURCE_PATH=C:/MFTTestFiles/Testmonitoring1.txt","TARGET_PATH=/Macysto2Adpro/TestMonitoring", "MODE=ACSII",ENDITEM,LAST);
Marked as spam
|