SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


FTP Sites?


FTP Sites?

Author
Message
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)

Group: General Forum Members
Points: 87470 Visits: 41116
Howdy folks,

I'm trying to setup a demonstration of how to download from FTP sites using T-SQL. The problem is, I don't know of any FTP sites that the general public has free access to. Do any of you know of such a site? Preferably, it would be a US site that's likely to be around for a good long time, probably some government site.

I could spend the time on Google looking for such a thing but I thought I ask you good folks first. Thank you for your help.

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
anthony.green
anthony.green
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10162 Visits: 6378
I dont know of any off the top of my head, but I do have a private FTP server on a dyndns lookup to my ISP in the UK if thats any use, wont take me a minute to make an account and set it up so you have access to a folder.



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger


HowardW
HowardW
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2261 Visits: 9892
How about the National Climate Data Center:

ftp://ftp.ncdc.noaa.gov/pub/data/gsod
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)

Group: General Forum Members
Points: 87470 Visits: 41116
HowardW (2/11/2013)
How about the National Climate Data Center:

ftp://ftp.ncdc.noaa.gov/pub/data/gsod


By Jove! That might be just what the doctor ordered! The files are zipped using Gun-Zip, the directory structure is consistant and well laid out, and the file names have a definite structure (even if I do't yet know what the layout of that structure means). The site is free and looks like it will be available for at least the next couple of years so I can write some code and forget about having to do updates. This looks perfect. Thanks Howard!

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)

Group: General Forum Members
Points: 87470 Visits: 41116
anthony.green (2/11/2013)
I dont know of any off the top of my head, but I do have a private FTP server on a dyndns lookup to my ISP in the UK if thats any use, wont take me a minute to make an account and set it up so you have access to a folder.


That's VERY kind of you to offer, Anthony. I need this data to be around and stable for years, though (it's actually going to be in an article here on SSC). I also don't know how many hits this will take especially on the first day and it has to persist even if, God forbid, something were to happen to one or both of us. I also don't want it to be a burden on any private individual because it does have to persist for years.

I VERY much appreciate your find offer to help on this. There should be more people in the world like you.

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)

Group: General Forum Members
Points: 87470 Visits: 41116
Jeff Moden (2/11/2013)
HowardW (2/11/2013)
How about the National Climate Data Center:

ftp://ftp.ncdc.noaa.gov/pub/data/gsod


By Jove! That might be just what the doctor ordered! The files are zipped using Gun-Zip, the directory structure is consistant and well laid out, and the file names have a definite structure (even if I do't yet know what the layout of that structure means). The site is free and looks like it will be available for at least the next couple of years so I can write some code and forget about having to do updates.

Thanks a million, Howard! This looks absolutely perfect.

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
anthony.green
anthony.green
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10162 Visits: 6378
Jeff Moden (2/11/2013)
anthony.green (2/11/2013)
I dont know of any off the top of my head, but I do have a private FTP server on a dyndns lookup to my ISP in the UK if thats any use, wont take me a minute to make an account and set it up so you have access to a folder.


That VERY kind of you to offer, Anthony. I need this data to be around and stable for years, though (it's actually going to be in an article here on SSC). I also don't know how many hits this will take especially on the first day and it has to persist even if, God forbid, something were to happen to one or both of us. I also don't want it to be a burden on any private individual because it does have to persist for years.

I VERY much appreciate your find offer to help on this. There should be more people in the world like you.



Not a problem, not got round to editing the post after Howard's, his is a much better solution.



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger


HowardW
HowardW
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2261 Visits: 9892
Jeff Moden (2/11/2013)
HowardW (2/11/2013)
How about the National Climate Data Center:

ftp://ftp.ncdc.noaa.gov/pub/data/gsod


By Jove! That might be just what the doctor ordered! The files are zipped using Gun-Zip, the directory structure is consistent and well laid out, and the file names have a definite structure (even if I do't yet know what the layout of that structure means). The site is free and looks like it will be available for at least the next couple of years so I can write some code and forget about having to do updates. This looks perfect. Thanks Howard!


No problem.
Narayana_17
Narayana_17
Valued Member
Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)

Group: General Forum Members
Points: 51 Visits: 135
Hi,
Try these links ,
Hope they will help you to put/ get the files to/from FTP Sites


http://www.simple-talk.com/sql/t-sql-programming/pop-rivett-and-the-ftp-directory/
http://www.virtualobjectives.com.au/sqlserver/ftp_scripts.htm
http://haacked.com/archive/2006/04/21/sqlstoredproceduretoftpfilesfromsqlserver.aspx
http://beyondrelational.com/justlearned/posts/608/upload-all-files-from-source-folder-via-ftp-in-sql-server.aspx


Thanks
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)

Group: General Forum Members
Points: 87470 Visits: 41116
Thanks for the links, Narayana, but I already know how to do the things you have in the articles you provided links to, What I was looking for were sites that had publically available FTP sites that I could reliably do demos with.

Good links to have though. Thanks again.

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search