![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: Is there any script example to download or upload from ftp site? Yeah, what Brandon said. And here are some specific examples of the ftpcmdlets in NetCmdlets: general examples: http://geekswithblogs.net/lance/arch...t_for_FTP.aspx recursive upload: http://geekswithblogs.net/lance/arch...07/100588.aspx hth Lance |
My System Specs![]() |
| | #2 (permalink) |
| | Is there any script example to download or upload from ftp site? I am newie, I want write a script to download or upload some files from/to ftp site. Is there any script example to download or upload from ftp server? |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Is there any script example to download or upload from ftp site? You can use: NetCMDLets http://blogs.msdn.com/powershell/arc...available.aspx -- Brandon Shell --------------- Stop by my blog some time ![]() Blog: http://www.bsonposh.com/ PSH Scripts Project: www.codeplex.com/psobject -------------------------------------- "ABC" <abc@abc.com> wrote in message news:OHtiuCSfHHA.3884@TK2MSFTNGP04.phx.gbl... >I am newie, I want write a script to download or upload some files from/to >ftp site. > > Is there any script example to download or upload from ftp server? > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Is there any script example to download or upload from ftp site? ABC wrote: > I am newie, I want write a script to download or upload some files from/to > ftp site. > > Is there any script example to download or upload from ftp server? > I use the ftp command in Windows like this. Plain, no error checking, etc., but it works for me. Jim $ftpfile = "open ftp.example.com`r`n" $ftpfile += "username`r`n" $ftpfile += "password`r`n" $ftpfile += "binary`r`n" $ftpfile += "lcd c:/`r`n" $ftpfile += "cd /directoryname `r`n" $ftpfile += "put myfile.zip`r`n" $ftpfile += "put myotherfile.zip`r`n" $ftpfile += "quit`r`n" Set-Content -path c:\ftpcommands.txt $ftpfile ftp "-s:c:/ftpcommands.txt" |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Hard to upload my site,.Help! | Network & Sharing | |||
| mail upload/download | Live Mail | |||
| Cannot Upload via http to Web Site with Vista | Vista General | |||
| Upload web site in HTML | Vista General | |||
| publish /upload pictures on external site no more available in Vista ? | Vista music pictures video | |||