[dba-Tech] FTP

Rocky Smolin rockysmolin2 at gmail.com
Tue Apr 25 11:30:56 CDT 2023


Stuart:

Using the code you sent me with modifications to pick up the arguments from
a table it runs to completion but no file appears on the server.

I used Filezilla to verify that the credentials  the user gave me work. And
I use Filezilla after running the program to see if  the test file is
transferred.

This is what is in strEXE

C:\windows\system32\ftp.exe -s:"C:\Clients\Charlton\ftpcmds"

And here's what is in the file ftpcmds. I've replace the password with * in
this email:

open server1.charltonweeks.com
server1.charltonweeks.com
************
cd /
lcd C:\Clients\Charlton
binary
put "This is a test.docx"
bye

Do you see the reason why the file might  not be transferring? (Or anyone?)

TIA

Rocky


More information about the dba-Tech mailing list