Scripting the OS-provided FTP command is always "iffy". I highly recommend downloading cURL, and making it a part of your lifelong toolkit. It allows for all kinds of transfers, it's well supported, very stable, very popular, cross-platform, and is easily scripted from MV.
Here are a couple examples that were posted to CDP (RIP) some years ago: https://groups.google.com/d/msg/comp.databases.pick/rrU9W1TsN5E/soRBQi wTPNcJ https://groups.google.com/d/msg/comp.databases.pick/mQm9tcRh1v8/6DJglz Go-DMJ I have a great deal of code based on cURL for use with client projects .. not for publication in a forum, sorry. HTH T From: Charlie Noah I download images from my bird store supplier using FileZilla (FTP). I want to automate the process such that a Jbase program can download an image if it finds that it's not on my system. I have used AIX scripts to move files around on a network before, but I've never done it in XP. Are there any gotchas I should be looking out for? I currently log in using FileZilla as anonymous, no password and port 21. -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
