johnf wrote: > On Friday 01 August 2008 01:42:02 pm Mike Mabey wrote: >> Hi all, >> >> I'm about to start into a new project and before I get into it too far, I >> thought I'd make sure my assumptions are correct about a couple things. As >> background, the application will interact with a table that contains >> references to a file's URL on the server. I'd like the app to have a file >> picker that will allow the user to upload the associated file at the same >> time that they input the information for the entry. >> >> First thing, I know wxPython has the wx.FileDialog. Is the dabo.ui.getFile >> method using this object? I can see from the documentation on this method >> that PDF files aren't an "understood file type." Since all the files to be >> uploaded are going to be PDF's, what's going to be the best way to check >> for this? >> >> Next, is ftplib going to be the best way to handle the upload, or does Dabo >> have its own way of doing this? >> >> If you have any pointers for me, I'd really appreciate it.
> Take a look at dFileDialog.py. I used ftplib in the past and I don't Dabo > has > anything to replace it. No, it isn't in Dabo's problem domain, and Python already has it included, so it wouldn't make any sense to replace it. What *could* make sense is a GUI wrapper for some of the functionality in ftplib. But then again, ftp should really wither away and die. Don't use ftp: use scp or (if you need browser support) https. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
