Two questions pertaining to a FTP Batch upload script I'm working on.
1) My log-in script is failing even though I know my credentials are valid. Any suggestions about this code snippet?
open ftp.mydomainname.com user (ftp.mydomainname.com:(none)):myusername@mydomaninname.com password:mypassword
2) Th开发者_C百科is is just a general question about FTP scripts. If I don't specify a "lcd" will the script assume when I say "put" that it's supposed to get the file from the directory the script lives in, or must I specify the directory with a "lcd"?
Answered the log-in piece of the question here: stackoverflow.com/questions/936108/
I solved the "lcd" piece of the question like so
put "c:\correct\file\path\here\filename.txt"
精彩评论