Jump to content

Search the Community

Showing results for tags 'ftp'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

  • Custom Function Library

Community Forums

  • Community Resources
    • Community Articles, Tips, & Techniques
    • FileMaker Marketplace Discussions
  • FileMaker Security Management
    • Security Concepts
    • Intellectual Property
  • FileMaker Server Administration
    • FileMaker Server 16
    • FileMaker Custom SSL Certificates
    • External Server Authentication
  • FileMaker Go & Mobile Strategies
    • FileMaker Go for iPhone & iPad
    • iBeacon Support
    • FileMaker IOS App SDK
  • FileMaker and the Internet
    • FileMaker REST API
    • FileMaker Cloud
    • FileMaker WebDirect
    • Custom Web Publishing
    • Other Internet Technologies
  • FileMaker Interface Features
    • Cards & Window Management
    • Interface Design Discussions
    • Layouts
    • Themes and Styles
    • Button, Popovers, Button Bars, SVG Icons
    • Tab and Slide Control Panels
    • Portals
    • Web Viewer
    • Conditional Formatting
    • Custom Menus
    • Value Lists
    • Tool Tips
  • FileMaker Schema & Logical Functions
    • Managing Scripts
    • Calculation Engine (Define Fields)
    • Custom Functions Discussions
    • FileMaker Query Language or FQL
    • Relationships
    • Charting
    • Remote Container Fields
    • Finding & Searching
    • Importing & Exporting
    • External Data Sources
    • Advanced & Developer Features
    • Reports, Printing & Publication
  • Brain Food
    • The Left Brain
    • Upgrading & Migration
    • Data Analysis
    • Development Standards
    • The Separation Model
    • Relational Database Theory
    • Damaged / Corrupt File Problems
    • OS Level Database Automation
    • Hardware & Networking
    • Bar Codes (Printer, Scanners, Software)
    • Accounting Solutions
  • FileMaker Discussions
    • FileMaker Pro 16
    • FileMaker Pro 15
    • Legacy FileMaker Platform Discussions
  • Productive Computing Support Forums
    • Visit Productive Computing
    • General Discussion for Productive Computing Products
    • Core CRM Solutions
    • QuickBooks and Accounting Plug-ins
    • Contact and Calendar Management Plug-ins
    • FileMaker Utility Plug-ins
  • 360 Works Official Product Support Forums
    • 360 Works General Support
    • MirrorSync by 360Works
    • 360Deploy
    • SuperContainer by 360 Works
    • ScriptMaster by 360 Works
    • FTPeek by 360 Works
    • 360Works Email Plugin
    • DocuBin by 360 Works
    • Zulu – FileMaker, iCal & Google Calendar.
  • Geist Interactive Product Support Forums
    • Visit Geist Interactive
    • Visit Modular FileMaker
    • FMPerception
    • Generator
    • fmQBO
  • FM Starting Point - By Richard Carlton Consulting
    • Visit FM Starting Point
    • FM Starting Point - General Discussions
  • FM Forums Affiliate Sponsors
    • Monkey Bread Software (MBS Plugin)
    • SyncServer Pro by LinearBlue
    • ISO FileMaker Magazine
    • Open Source Frameworks
    • FileMaker Plug-Ins
    • User Group Central - Sponsored by FMPug.com
  • FileMaker Classifieds
    • FileMaker Product & Service Announcements
    • Professional FileMaker Training
    • Services for Hire
    • Services Wanted
    • Solutions Wanted
    • Tools Of The Trade
  • The Water Cooler
    • Member Lounge
    • Wants & Wishes
  • FM Forums Operations
    • FM Forums Feedback & Site News
    • Site Instructions
  • FileMaker Platform

Blogs

  • Captain's Blog
  • FileMaker Weetbicks
  • FileMaker Security Blog
  • The FileMaker Rift
  • HOnza's Bits @ FMForums
  • SeedCode
  • CampSoftware, Hal Gumbert
  • FileMaker Hacks
  • Skeleton Key's Blog
  • Wing Forward Solutions
  • 360Works Articles and Tutorials
  • GoBillit
  • Filemaker - an amateur's view
  • Linear Blue
  • Surya Kanta Mekap's Blog
  • eXcelisys' Blog
  • Manjit Behera
  • Blue Feather's Blog
  • RCC's FileMaker News and Bits
  • Thorsen Consulting
  • DB Services Blog
  • FileMaker Magazine
  • Eye on FileMaker
  • Dev Talk
  • The Philosophy of FileMaker
  • Button Bar Icon - Text Alignment Issue
  • 1-more-blog
  • Productive Computing

Categories

  • Samples
  • Solutions
  • White Papers
  • Plug-Ins
  • FMGo

Found 6 results

  1. Hi <REDACTED> User was suffering from Friday as well as brain meltdown and general stupidity. Stephen
  2. Hello, I am wondering if there is a way to automatically upload an exported .csv file to an FTP server on a Windows PC. I already have a working solution for Mactintosh by running a calculated AppleScript, but I don't know much about Windows and I don't know of any equivalent for PC. The current method I have just calls cURL in the Terminal.
  3. FTP functions

    Just updated my ftp functions to add some functionality for a job. Some of the techniques might prove useful if you want to dig into them Uses the Commons-Net-3.2 jar but should also work with Commons-Net-Ftp-2.0 First also needs Commons-io jar List image files: // FTPlist ( ftp_host ; ftp_user ; ftp_password ; remote_path ) // 13_05_22 JR // v1.0 // returns date sorted list of tab separated file entries // date, time, size, name import org.apache.commons.net.ftp.FTPClient import org.apache.commons.net.ftp.FTPFile import org.apache.commons.io.FileUtils import java.text.SimpleDateFormat try{ new FTPClient().with{ connect ftp_host login ftp_user, ftp_password names = listFiles(remote_path) logout() disconnect() } //end with } catch (e) { return e } //end try sdf = new SimpleDateFormat("dd/MM/yyyytHH:mm") sdg = new SimpleDateFormat("yyyy/MM/dd") sdh = new SimpleDateFormat("HH:mm") list = [] filenames = [] TAB = 't' names.each{ if(it.getType() == FTPFile.FILE_TYPE){ tx = it.getTimestamp().getTime() list.add(new Expando(date:sdg.format(tx), time:sdh.format(tx), fmdate:sdf.format(tx), name:it.getName(), size:FileUtils.byteCountToDisplaySize(it.getSize()))) } //end if } //end each // SORT by date, then time, then name ls = list.sort{x,y -> x.date<=>y.date ?: x.time<=>y.time ?: x.name<=>y.name} ls.each{ filenames += it.fmdate + TAB + it.size + TAB + it.name } //end each return filenames ?: false Get specific file // FTPgetFile ( ftp_host ; ftp_user ; ftp_password ; remote_path ; local_path ; fm_file ) // 13_05_22 JR // v1.0 // downloads file from fTP site, returns true if successful or false or error import org.apache.commons.net.ftp.FTPClient import org.apache.commons.net.ftp.FTP SEP = System.getProperty("file.separator") try{ new FTPClient().with { connect ftp_host enterLocalPassiveMode() login ftp_user, ftp_password changeWorkingDirectory remote_path setFileType(FTP.BINARY_FILE_TYPE) incomingFile = new File(local_path + SEP + fm_file) incomingFile.withOutputStream { ostream -> retrieveFile fm_file, ostream } //end stream logout() disconnect() } //end with } catch (e) { return e } //end try if (!new File(local_path + SEP + fm_file).size()){ return false } return true Delete specific file // FTPdeleteImage ( ftp_host ; ftp_user ; ftp_password ; remote_path ; fm_file ) // 13_05_22 JR // v1.0 // deletes file from fTP site, returns true if successful or false or error import org.apache.commons.net.ftp.FTPClient try{ new FTPClient().with { connect ftp_host enterLocalPassiveMode() login ftp_user, ftp_password changeWorkingDirectory remote_path deleteFile fm_file logout() disconnect() } //end with } catch (e) { return e } //end try return true
  4. Hi All, I just thought I'd try to give back to the community that has given so much to me by writing a little tutorial. This technique is one I developed on Macs. Mac OS X has the curl command line tool as part of the default installation. Curl is like a web swiss army knife. You can fetch files, POST data, upload to or download from FTP servers etc... so it brings a lot of functionality to the table which isn't built into FileMaker. I make use of curl through the "do shell script" AppleScript command, which in FileMaker I use through the "Perform AppleScript" script step. Here's a simple 6 line script that lets you take the contents of a container field and upload it to an FTP site. Substitute your container field in the first and fifth lines and your FTP information in the $script variable to make it functional. This script could be extended by actually having variables for the FTP credentials/location too but I've kept it simple here just to demonstrate the technique. set variable [$file_name; GetAsText(YourTable::YourContainerField)] set variable [$path_temp; Get(TemporaryPath) & $file_name] set variable [$path_unix; Middle($path_temp ; Position($path_temp ; "/" ; 1 ; 2) ; Length($path_temp))] set variable [$script; "do shell script "curl -T " & $path_unix & " ftp://USERNAME:PASSWORD@FTP_HOST/FTP_DIRECTORY/" & $file_name &"""] Export Field Contents [YourTable::YourContainerField; "$path_temp"] Perform AppleScript [$script] Enjoy!
  5. Using SFTP

    Hi, I would like to use FTPeek to upload several files at a time to an FTP Server of a business partner. I can drag and drop the files to upload to the server using Filezillia with there settings including sftp-ssh file transfer protocol with no key, logon type normal, no port set, a host ip address, and a user name and password. Since I am collecting the files to upload to one using Filemaker I would prefer to program the upload using Filemaker. Can I use FTPeek_ConnectSFTP without a public key as they don't appear to require one since none is set in Filezillia and the business partner provided none. Thank you in advance Rich
  6. I've been trying for 3 days to figure out the syntax for an FTP Upload custom function (downloaded from briandunning.com), but I can't get it to work. It always fails with error -2740, "an unknown token can't go here," which tells me nothing. Anyone care to check out my script and offer some pointers? I'm sure there's a syntax error, but I can't find it. I want to hard-code the username and password, but the password contains special characters (parentheses), and I'm not sure how to escape them: i,e, ythr(i.K9)56 I've tried various escaping approaches: ythr(i.K9)56 , "ythr" & "(" & "i.K9" & ")" & "56", etc. FTPUpload (path, directory, file) " set thePath to quoted form of "ftp://<username>:<password>@ftp.remotehost.com/targetfolder/" do shell script "curl -T" path & "/" & directory & "/" & file thePath " Any ideas?
×

Important Information

By using this site, you agree to our Terms of Use.