Find file (exists check)
Check if a file or folder exists at a given path. Useful for conditional logic in Zapier, Make, or n8n workflows.
GET Endpoint
GET https://pushftp.com/api/exists/{connectionId}?path=/uploads/report.csvExample
curl https://pushftp.com/api/exists/YOUR_CONNECTION_ID?path=/uploads/report.csv \ -H "Authorization: Bearer pftp_your_key"
Log in to see your real API key and connection IDs here.
pathrequiredFull remote path to checkResponse (file found)
{
"exists": true,
"file": {
"name": "report.csv",
"path": "/uploads/report.csv",
"size": 15234,
"modifiedAt": "2026-03-28T14:30:00.000Z",
"isDirectory": false
}
}Response (file not found)
{
"exists": false,
"file": null
}Note: returns 200 in both cases. Use the exists field for conditional logic.
Use case: conditional upload
In Zapier, use Find File as a search step, then add a filter: "Only continue if exists is false" → Upload. This prevents duplicate uploads.
Counts as 1 action toward your monthly limit.