Select to view content in your preferred language

Save model builder results directly to an FTP site

1008
3
05-06-2010 12:38 AM
SimonePoli
New Contributor
Hello,

i have created a model builder application. i need to save the results directly to an ftp sites. Is it possible to do that?

Thanks

Simone
0 Kudos
3 Replies
AlanToms
Regular Contributor
I do not know for sure, but I expect if you run the model as a Python script you can add code to connect to an FTP site then copy the results.

Alan
0 Kudos
ChrisMathers
Deactivated User
You can from python with the FTP library. I use it to download for a geoprocessing script every monday. You will have to either convert the model to python or write the FTP portion and make it a tool so you can bring it into your model. If you can wait till June to do this, the docs for ftplib in python 2.6 are way better. Here is the link to the 2.5 docs.

http://docs.python.org/release/2.5.2/lib/module-ftplib.html
0 Kudos
JoelCalhoun
Deactivated User
If the FTP site is on your network you can try setting up a drive letter to the path of the FTP.

That is what we do.  So the copy or output can be to a folder on say the F drive.

Hope that helps.
0 Kudos